From ed31c612c12e603ce86073952018bf7f00f9cd59 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 11 Aug 2007 08:30:43 +0200 Subject: 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. --- lib/.gitignore | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/.gitignore') diff --git a/lib/.gitignore b/lib/.gitignore index 67dd9223f..b81fee7e7 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -430,6 +430,7 @@ xstrndup.h xstrtod.c xstrtod.h xstrtoimax.c +xstrtol-error.c xstrtol.c xstrtol.h xstrtold.c -- cgit v1.2.3-70-g09d2