From: Paul Eggert Date: Tue, 7 Sep 2004 06:23:39 +0000 (+0000) Subject: Fix "touch -- MMDDhhmm file" bug. X-Git-Tag: v5.3.0~727 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0adc63250f7ab01232d8352915bbba83c3818b;p=thirdparty%2Fcoreutils.git Fix "touch -- MMDDhhmm file" bug. --- diff --git a/ChangeLog b/ChangeLog index 98521aea2b..b1313773ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2004-09-06 Paul Eggert + * src/touch.c (main): Fix POSIX-conformance bug: "touch -- + MMDDhhmm file" must be treated like "touch MMDDhhmm file" when + conforming to pre-2001 POSIX. + * NEWS: Document this. + * tests/touch/obsolescent: Test for this bug. Also, set + _POSIX2_VERSION=199209 and POSIXLY_CORRECT=1 so that it's + a better test for obsolescent features. + * src/sort.c (main): Emulate Solaris 8 and 9 "sort -y", so that "sort -y abc" is like "sort abc" whereas "sort -y 100" is like plain "sort".