Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06f632
)
In set_modtime(), the verbose message should be output even if
author
Wayne Davison
<wayned@samba.org>
Thu, 20 Jan 2005 22:58:30 +0000
(22:58 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 20 Jan 2005 22:58:30 +0000
(22:58 +0000)
--dry-run was specified.
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
99a3a5d
..
1e1c9db
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-130,15
+130,15
@@
void overflow(char *str)
int set_modtime(char *fname, time_t modtime)
{
- if (dry_run)
- return 0;
-
if (verbose > 2) {
rprintf(FINFO, "set modtime of %s to (%ld) %s",
fname, (long)modtime,
asctime(localtime(&modtime)));
}
+ if (dry_run)
+ return 0;
+
{
#ifdef HAVE_UTIMBUF
struct utimbuf tbuf;