version 1.176, 2007/01/25 18:56:33 |
version 1.177, 2007/01/26 11:19:44 |
|
|
cvs_file_classify(struct cvs_file *cf, const char *tag, int loud) |
cvs_file_classify(struct cvs_file *cf, const char *tag, int loud) |
{ |
{ |
size_t len; |
size_t len; |
time_t mtime; |
|
struct stat st; |
struct stat st; |
BUF *b1, *b2; |
BUF *b1, *b2; |
int rflags, l, ismodified, rcsdead, verbose; |
int rflags, l, ismodified, rcsdead, verbose; |
|
|
if (fstat(cf->fd, &st) == -1) |
if (fstat(cf->fd, &st) == -1) |
fatal("cvs_file_classify: %s", strerror(errno)); |
fatal("cvs_file_classify: %s", 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) |
|
ismodified = 1; |
ismodified = 1; |
} |
} |
|
|