]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
"touch 0101000000" now operates as POSIX 1002.1-2001 requires.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Nov 2005 23:43:38 +0000 (23:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Nov 2005 23:43:38 +0000 (23:43 +0000)
ChangeLog
doc/ChangeLog
lib/ChangeLog

index 2ff3ab132ebe5d15252005c8ef33c337aded0024..52918a0e98214138346290494f3a695d46d9b165 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,13 +1,18 @@
 2005-11-01  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * NEWS:
+
        * Version 6.0-cvs.
 
-       * NEWS: tail -c 2 FILE now operates as POSIX 1002.1-2001 requires.
+       * NEWS: "tail -c 2 FILE" and "touch 0101000000" now operate as
+       POSIX 1002.1-2001 requires.
        * src/tail.c (parse_obsolete_option): Implement this.
        Problem reported by Vincent Lefevre.
+       * src/touch.c (main): Pass PDS_PRE_2000 to posixtime.
        * tests/tail/Test.pm (c-2, c-2-minus, c2, c2-minus): New tests.
        (test_vector): Add special cases for _POSIX2_VERSION, and
        regularize the old ones a bit.
+       * tests/touch/obsolescent: Add y2000 test.
 
 2005-10-31  Paul Eggert  <eggert@cs.ucla.edu>
 
index 7eec6ebb3f168ce76d8e5e40f2712b76af346619..a0a20b55ecc89c1dda1492205fd8a5b7d69246db 100644 (file)
@@ -2,6 +2,7 @@
 
        * coreutils.texi (tail invocation): Describe obsolete usages
        like "tail -2" more precisely.
+       (touch invocation): The old usage works only for 1969-1999 now.
 
 2005-08-28  David Madore  <david.madore@ens.fr>
 
index e0a7ca1d5de39d41ff10c876d7f74c5de9ff8745..8a3d9c8d6eb0b58e0885e6d9365649e95b97291e 100644 (file)
@@ -1,3 +1,10 @@
+2005-11-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * posixtm.h (PDS_PRE_2000): New macro.
+       * posixtm.c (year): Arg is now syntax_bits rather than allow_century.
+       All usages changed.  Reject dates outside the range 1969-1999 if
+       PDS_PRE_2000 is used.
+
 2005-10-30  Paul Eggert  <eggert@cs.ucla.edu>
 
        Fix porting problems reported by Theodoros V. Kalamatianos.