Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r2432 - branches/fsvs-1.2.x/fsvs/src/helper.c

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

svn commit: r2432 - branches/fsvs-1.2.x/fsvs/src/helper.c

Author tekknokrat
Full name Gunnar Thielebein
Date 2010-02-16 02:20:51 PST
Message Author: tekknokrat
Date: 2010-02-16 02:20:50-0800
New Revision: 2432

Modified:
   branches/fsvs-1.2.x/​fsvs/src/helper.c

Log:
Condition for child elements in dir_exclude_mtime check

Modified: branches/fsvs-1.2.x/​fsvs/src/helper.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/helper.c?​view=diff&pathre​v=2432&r1=2431​&r2=2432
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/helper.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/helper.c 2010-02-16 02:20:50-0800
@@ -2109,7 +2109,7 @@
     st = sts->entry_status;
 
     return opt__get_int(OPT__DI​R_EXCLUDE_MTIME) &&
- S_ISDIR(sts->st.mode) &&
+ S_ISDIR(sts->st.mode) && (!(st & FS_CHILD_CHANGED)) &&
         (st & FS__CHANGE_MASK) == FS_META_MTIME;
 }
Messages per page: