summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-08-11 08:30:43 +0200
committerJim Meyering <jim@meyering.net>2007-08-11 08:32:50 +0200
commited31c612c12e603ce86073952018bf7f00f9cd59 (patch)
tree6b4a11c2f0f491d53127516d9e01fb1914fa9f76 /ChangeLog
parentd243c0e840138cc5d8bf67c9d2a785bdbd74a8d9 (diff)
downloadcoreutils-ed31c612c12e603ce86073952018bf7f00f9cd59.tar.xz
Accommodate more xstrtol changes.
* src/df.c (long_options): Don't bother prepending "--" to long options that OPT_STR might decode, as that hack is no longer needed. (main): Invoke xstrtol_fatal rather than STRTOL_FATAL_ERROR. * src/du.c (long_options, main): Likewise. * src/ls.c (decode_switches): Likewise. * src/od.c (long_options, main): Likewise. * src/pr.c (first_last_page, main): Likewise. * src/sort.c (long_options, specify_sort_size): Likewise. * src/pr.c (first_last_page): Accept option index and option char instead of an assembled option string. All callers changed. * src/sort.c (specify_sort_size): Likewise. * src/system.h (OPT_STR, LONG_OPT_STR, short_opt_str, OPT_STR_INIT): Remove.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index df5ed6e13..1cd7390b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2007-08-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ Accommodate more xstrtol changes.
+ * src/df.c (long_options): Don't bother prepending "--" to long
+ options that OPT_STR might decode, as that hack is no longer needed.
+ (main): Invoke xstrtol_fatal rather than STRTOL_FATAL_ERROR.
+ * src/du.c (long_options, main): Likewise.
+ * src/ls.c (decode_switches): Likewise.
+ * src/od.c (long_options, main): Likewise.
+ * src/pr.c (first_last_page, main): Likewise.
+ * src/sort.c (long_options, specify_sort_size): Likewise.
+ * src/pr.c (first_last_page): Accept option index and option char
+ instead of an assembled option string. All callers changed.
+ * src/sort.c (specify_sort_size): Likewise.
+ * src/system.h (OPT_STR, LONG_OPT_STR, short_opt_str, OPT_STR_INIT):
+ Remove.
+
2007-08-05 Jim Meyering <jim@meyering.net>
Encapsulate a static variable.