]> git.pld-linux.org Git - packages/getty_ps.git/blame - getty_ps-y2k.patch
cp-friendly url
[packages/getty_ps.git] / getty_ps-y2k.patch
CommitLineData
3a965061 1--- getty_ps-2.0.7j/funcs.c.foo Sat Jun 10 13:19:30 2000
2+++ getty_ps-2.0.7j/funcs.c Sat Jun 10 13:21:18 2000
3@@ -84,10 +84,10 @@
4 case 'D': /* date */
5 (void) time(&clock);
6 lt = localtime(&clock);
7- (void) sprintf(tbuf, "%d %s %02d",
8+ (void) sprintf(tbuf, "%d %s %04d",
9 lt->tm_mday,
10 month_name[lt->tm_mon],
11- lt->tm_year);
12+ 1900+lt->tm_year);
13 if (Fputs(tbuf, stream) == EOF)
14 return(EOF);
15 break;
This page took 0.087361 seconds and 4 git commands to generate.