projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
20f6062
)
Actually check the mtime when it's not optional.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 27 Jan 2007 10:05:58 +0000 (10:05 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 27 Jan 2007 10:05:58 +0000 (10:05 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2476
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
lib_internal/unify.h
patch
|
blob
|
history
diff --git
a/lib_internal/unify.h
b/lib_internal/unify.h
index
2c60257
..
cf02a94
100644
(file)
--- a/
lib_internal/unify.h
+++ b/
lib_internal/unify.h
@@
-56,11
+56,12
@@
Unify_isIUnlinkable(char const *filename) NONNULL((1));
#ifdef UTIL_VSERVER_UNIFY_MTIME_OPTIONAL
# define Unify_isUnifyable(LHS, RHS) \
((bool)(_Unify_isUnifyable(LHS, RHS) && \
- (global_args->ignore_mtime || \
- (LHS)->st_mtime==(RHS)->st_mtime)))
+ (global_args->ignore_mtime || \
+ (LHS)->st_mtime==(RHS)->st_mtime)))
#else
# define Unify_isUnifyable(LHS, RHS) \
- _Unify_isUnifyable(LHS, RHS)
+ ((bool)(_Unify_isUnifyable(LHS, RHS) && \
+ (LHS)->st_mtime==(RHS)->st_mtime))
#endif