From 0e0adc63250f7ab01232d8352915bbba83c3818b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 7 Sep 2004 06:23:39 +0000 Subject: [PATCH] Fix "touch -- MMDDhhmm file" bug. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) 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". -- 2.47.2