From: Paul Eggert Date: Sun, 19 Sep 2004 02:13:56 +0000 (+0000) Subject: Log changes to dd, chroot, cksum. X-Git-Tag: v5.3.0~676 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a53b222e3e39e6977cf3e46c3231136c1c8882;p=thirdparty%2Fcoreutils.git Log changes to dd, chroot, cksum. --- diff --git a/ChangeLog b/ChangeLog index d7c013042d..e6af1ca6e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +2004-09-18 Paul Eggert + + * src/dd.c (usage): Distinguish between options and operands. + (scanargs): Don't mess with argc, argv; getopt_long handles this now. + Say "operands" for operands, not "options". + (main): Use getopt_long, so that "dd --" works as POSIX requires. + * tests/dd/misc: Check for "dd --". + + * src/chroot.c (main): Reject unknown options instead of + interpreting them as a directory to chroot to. + + * src/cksum.c: Remove obsolete comment about POSIX 1003.2/D11.2. + The current standard (POSIX 1003.1-2004) is correct. + (crc_remainder) [defined CRCTAB]: Renamed from "remainder" to avoid + collision with builtin function. + (main) [defined CRCTAB]: Output in lowercase hexadecimal, and + output the first 0 as 8 digits, to make it easier to compare to + the text of the standard. Output crctab to be a const array. + (crctab): Use result of above changes. + (long_options): Remove; not needed if empty. + (main): getopt_long can't return 0 here, so simplify the code. + 2004-09-13 Jim Meyering * src/Makefile.am (localedir.h): Don't redirect directly to target.