version 1.11, 2007/01/26 08:35:23 |
version 1.12, 2007/01/26 11:19:44 |
|
|
void |
void |
cvs_remote_classify_file(struct cvs_file *cf) |
cvs_remote_classify_file(struct cvs_file *cf) |
{ |
{ |
time_t mtime; |
|
struct stat st; |
struct stat st; |
CVSENTRIES *entlist; |
CVSENTRIES *entlist; |
|
|
|
|
fatal("cvs_remote_classify_file(%s): %s", cf->file_path, |
fatal("cvs_remote_classify_file(%s): %s", cf->file_path, |
strerror(errno)); |
strerror(errno)); |
|
|
mtime = cvs_hack_time(st.st_mtime, 1); |
if (st.st_mtime != cf->file_ent->ce_mtime) |
if (mtime != cf->file_ent->ce_mtime) |
|
cf->file_status = FILE_MODIFIED; |
cf->file_status = FILE_MODIFIED; |
else |
else |
cf->file_status = FILE_UPTODATE; |
cf->file_status = FILE_UPTODATE; |