1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

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.
This commit is contained in:
Paul Eggert
2007-08-11 08:30:43 +02:00
committed by Jim Meyering
parent d243c0e840
commit ed31c612c1
10 changed files with 55 additions and 56 deletions

View File

@@ -439,6 +439,7 @@ xstrndup.h
xstrtod.c
xstrtod.h
xstrtoimax.c
xstrtol-error.c
xstrtol.c
xstrtol.h
xstrtold.c

1
lib/.gitignore vendored
View File

@@ -430,6 +430,7 @@ xstrndup.h
xstrtod.c
xstrtod.h
xstrtoimax.c
xstrtol-error.c
xstrtol.c
xstrtol.h
xstrtold.c