Return to client.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.118, 2009/02/21 14:50:53 | version 1.119, 2009/02/23 21:28:57 | ||
---|---|---|---|
|
|
||
if (len >= sizeof(timebuf)) | if (len >= sizeof(timebuf)) | ||
fatal("cvs_client_sendfile: truncation"); | fatal("cvs_client_sendfile: truncation"); | ||
} else { | } else { | ||
ctime_r(&ent->ce_mtime, timebuf); | gmtime_r(&ent->ce_mtime, &datetm); | ||
asctime_r(&datetm, timebuf); | |||
timebuf[strcspn(timebuf, "\n")] = '\0'; | timebuf[strcspn(timebuf, "\n")] = '\0'; | ||
if (newent->ce_tag != NULL) { | if (newent->ce_tag != NULL) { |