summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-07-08 14:01:59 +0000
committerJim Meyering <jim@meyering.net>2004-07-08 14:01:59 +0000
commit3f6161568104c2ceb893a7beb88bd18293bdea91 (patch)
treee15c7c61cacc8cd66e670e5655e101c869118e31
parent62e1d5259df82155ae52201678093381a35d898e (diff)
downloadcoreutils-3f6161568104c2ceb893a7beb88bd18293bdea91.tar.xz
*** empty log message ***
-rw-r--r--ChangeLog37
1 files changed, 36 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a91da9b3..2c1779e05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,42 @@
-2004-04-03 Dmitry V. Levin <ldv@altlinux.org>
+2004-07-06 Paul Eggert <eggert@cs.ucla.edu>
* Version 5.3.0.
+ printf cleanup, to avoid undefined behavior, to add support for
+ formats that Bash supports, and to support wide integers like
+ Bash does.
+
+ * NEWS: Document this.
+ * src/printf.c (UNSPECIFIED): Remove. All uses now replaced by
+ booleans, so that we don't reserve any values for precision or
+ width (like Bash).
+ (STRTOX): Use prototype, not K&R-style definition.
+ (vstrtoimax): Renamed from xstrtol (to avoid confusion with xstrtol
+ in ../lib), with type change to intmax_t.
+ All uses changed.
+ (vstrtoumax): Renamed from xstrtoul, with type change to uintmax_t.
+ All uses changed.
+ (vstrtod): Renamed from xstrtod. All uses changed.
+ (print_direc): Use boolean arg instead of special value to indicate
+ a missing precision or width. LENGTH no longer includes
+ length modifiers or conversion character. New arg CONVERSION
+ now specifies conversion character.
+ Use intmax_t-width formatting for integers (like Bash).
+ Add support for C99 %a, %A, %F (like Bash).
+ Add support for field width with %c (POSIX requires this).
+ Add a FIXME for lack of support for field width and precision
+ for %b.
+ Add support for '\'', '0' flags.
+ Check for invalid combinations of flags, field width, precision,
+ and conversion, to prevent use of undefined behavior.
+ Allow multiple length modifiers, for formats like "%lld" (like Bash).
+ Add support for C99 'j', 't', 'z' length modifiers (like Bash).
+ In error message, output entire invalid conversion specification,
+ instead of merely outputting % followed by the conversion char.
+ * tests/misc/printf: Add tests for the above.
+
+2004-04-03 Dmitry V. Levin <ldv@altlinux.org>
+
Change "readlink -f" to be more compatible with prior implementations.
Add more canonicalize options, -e and -m.
Add comprehensive tests for all readlink modes.