OSDN Git Service

ChangeLog, configure.in:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Jan 1999 05:06:02 +0000 (05:06 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Jan 1999 05:06:02 +0000 (05:06 +0000)
  configure.in (YEAR): Allow a 4-digit year for the version date, so we
   can be Y2K politically correct.  (The date isn't used for anything
   except display purposes, but it should make people more comfortable to
   not use a 2-digit date, even though it doesn't matter.)

ChangeLog
configure.in

index ad7de68..4e540f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * configure.in (YEAR): Allow a 4-digit year for the version date,
+               so we can be Y2K politically correct.  (The date isn't
+               used for anything except display purposes, but it should
+               make people more comfortable to not use a 2-digit date,
+               even though it doesn't matter.)
+
 Mon Jan  4 02:36:23 1999  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * Makefile.in: Move the generated types.h file from the linux/
index 6256b35..a9b5567 100644 (file)
@@ -13,7 +13,9 @@ DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
 MONTH=`echo $DATE | awk -F- '{print $2}'`
 YEAR=`echo $DATE | awk -F- '{print $3}'`
 
-if expr $YEAR ">" 90 >/dev/null ; then
+if expr $YEAR ">" 1900 > /dev/null ; then
+       E2FSPROGS_YEAR=$YEAR
+elif expr $YEAR ">" 90 >/dev/null ; then
        E2FSPROGS_YEAR=19$YEAR
 else
        E2FSPROGS_YEAR=20$YEAR