diff options
author | danny <danny@FreeBSD.org> | 1999-01-05 10:13:54 +0000 |
---|---|---|
committer | danny <danny@FreeBSD.org> | 1999-01-05 10:13:54 +0000 |
commit | 7244b9f8474d3f89efea37ffa998ce2396cca4eb (patch) | |
tree | 646bf1421763ab23a0fa75ace660b24f1cfc1fa6 /usr.bin/touch | |
parent | b99ec91e28346c10df790709dd4a6dd97db0f75c (diff) | |
download | FreeBSD-src-7244b9f8474d3f89efea37ffa998ce2396cca4eb.zip FreeBSD-src-7244b9f8474d3f89efea37ffa998ce2396cca4eb.tar.gz |
Merge from 2_2 man page change.
Diffstat (limited to 'usr.bin/touch')
-rw-r--r-- | usr.bin/touch/touch.1 | 2 | ||||
-rw-r--r-- | usr.bin/touch/touch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/touch/touch.1 b/usr.bin/touch/touch.1 index f8a7d3e..b3a0b17 100644 --- a/usr.bin/touch/touch.1 +++ b/usr.bin/touch/touch.1 @@ -152,7 +152,7 @@ letter pairs are treated as their counterparts specified to the option. If the .Dq YY -letter pair is in the range 69 to 99, the year is set to 1969 to 1999, +letter pair is in the range 39 to 99, the year is set to 1939 to 1999, otherwise, the year is set in the 21st century. .Sh HISTORY A diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c index 81e596a..b5f19dc 100644 --- a/usr.bin/touch/touch.c +++ b/usr.bin/touch/touch.c @@ -262,7 +262,7 @@ stime_arg2(arg, year, tvp) t->tm_min = ATOI2(arg); if (year) { t->tm_year = ATOI2(arg); - if (t->tm_year < 38) /* support 2000-2038 not 1902-1969 */ + if (t->tm_year < 39) /* support 2000-2038 not 1902-1969 */ t->tm_year += 100; } |