postgresql/src
Tom Lane ed437e2b27 Adjust comments about avoiding use of printf's %.*s.
My initial impression that glibc was measuring the precision in characters
(which is what the Linux man page says it does) was incorrect.  It does take
the precision to be in bytes, but it also tries to truncate the string at a
character boundary.  The bottom line remains the same: it will mess up
if the string is not in the encoding it expects, so we need to avoid %.*s
anytime there's a significant risk of that.  Previous code changes are still
good, but adjust the comments to reflect this knowledge.  Per research by
Hernan Gonzalez.
2010-05-09 02:16:00 +00:00
..
backend Adjust comments about avoiding use of printf's %.*s. 2010-05-09 02:16:00 +00:00
bin Adjust comments about avoiding use of printf's %.*s. 2010-05-09 02:16:00 +00:00
include tag for 9.0beta1 2010-04-30 03:16:58 +00:00
interfaces Adjust comments about avoiding use of printf's %.*s. 2010-05-09 02:16:00 +00:00
makefiles On Linux, use --enable-new-dtags when specifying -rpath to linker. 2010-05-06 19:28:25 +00:00
pl Fix leakage of proc-related storage in plpython's inline handler. 2010-05-01 17:04:38 +00:00
port Code page for EUC-KR is surely 51949. 2010-05-06 02:12:38 +00:00
template Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running 2009-02-11 20:02:40 +00:00
test Update standbycheck test output with new ERROR message changes. No changes 2010-05-02 12:28:43 +00:00
timezone Improve message style for messages associated with not being able to 2010-04-15 18:46:45 +00:00
tools Fix various instances of "the the". 2010-04-23 23:21:44 +00:00
tutorial Remove copyright mention of Andrew Yu, per author's permission. 2010-02-02 18:52:02 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Rethink the way walreceiver is linked into the backend. Instead than shoving 2010-01-20 09:16:24 +00:00
Makefile.global.in Mark "installcheck-parallel", "world", "install-world" and "installcheck-world" make targets as PHONY. Fujii Masao. 2010-03-24 13:14:02 +00:00
Makefile.shlib Derived files that are shipped in the distribution used to be built in the 2009-08-28 20:26:19 +00:00
nls-global.mk Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00