From: Jim Meyering Date: Sat, 12 Apr 2003 19:52:38 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v5.0.1~698 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4d79b1c3936a36e59d840679cc34e37b327389;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index 3ad6c7f129..4dbb583e88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,20 @@ * Version 5.0.1. + Giving nl an invalid STYLE argument (in --header-numbering=STYLE (-h), + --body-numbering=STYLE (-b), or --footer-numbering=STYLE (-f)) or + FORMAT (--number-format=FORMAT (-n)) would not give a useful diagnostic. + * src/nl.c (main): Fix those problems and remove literal quote marks + (e.g., "`%s'") from format string; instead use "%s" in each format + string and `quote (optarg)' as the corresponding argument. + Also, diagnose all invalid command line options before failing. + + * src/nl.c (proc_text): Fix a bug introduced on 2001-11-10, + for textutils-2.0.17, that would make nl output extra newlines + in some cases. It was reported at http://bugs.debian.org/177256. + This bug was introduced for TEXTUTILS-2_0_17 on 2001-11-10. + * tests/misc/nl: Add test for the above-fixed bug. + * tests/misc/readlink: New file. Test the --canonicalize option. * tests/misc/Makefile.am (TESTS): Add readlink.