Year 2000 fix

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1672 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-05-07 00:38:36 +00:00
parent 61429f357f
commit d844ace4c4

View File

@@ -634,9 +634,13 @@ cmd
struct tm *t;
t = gmtime(&stbuf.st_mtime);
reply(213,
"19%02d%02d%02d%02d%02d%02d",
t->tm_year, t->tm_mon+1, t->tm_mday,
t->tm_hour, t->tm_min, t->tm_sec);
"%04d%02d%02d%02d%02d%02d",
t->tm_year + 1900,
t->tm_mon + 1,
t->tm_mday,
t->tm_hour,
t->tm_min,
t->tm_sec);
}
}
if ($4 != NULL)