Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/compat.h @ 7578:5766890f1275 HEAD
Previous fix broke CMP_ST_CTIME() nsec checks.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 30 May 2008 12:00:29 +0300 |
parents | 0d842b055838 |
children | 5abe05d7d093 |
line wrap: on
line diff
--- a/src/lib/compat.h Fri May 30 11:58:56 2008 +0300 +++ b/src/lib/compat.h Fri May 30 12:00:29 2008 +0300 @@ -93,7 +93,7 @@ ST_NTIMES_EQUAL(ST_MTIME_NSEC(*(st1)), ST_MTIME_NSEC(*(st2)))) #define CMP_ST_CTIME(st1, st2) \ ((st1)->st_ctime == (st2)->st_ctime && \ - ST_NTIMES_EQUAL(ST_MTIME_NSEC(*(st1)), ST_MTIME_NSEC(*(st2)))) + ST_NTIMES_EQUAL(ST_CTIME_NSEC(*(st1)), ST_CTIME_NSEC(*(st2)))) /* strcasecmp(), strncasecmp() */ #ifndef HAVE_STRCASECMP