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:
90d0a8d
)
Add -vvv trace statement to set_modtime to help with Debian bug
author
Martin Pool
<mbp@samba.org>
Mon, 18 Feb 2002 22:25:55 +0000
(22:25 +0000)
committer
Martin Pool
<mbp@samba.org>
Mon, 18 Feb 2002 22:25:55 +0000
(22:25 +0000)
#100295.
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
8ba3474
..
e6d127c
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-240,10
+240,18
@@
void overflow(char *str)
-int set_modtime(char *fname,time_t modtime)
+int set_modtime(char *fname,
time_t modtime)
{
extern int dry_run;
- if (dry_run) return 0;
+ if (dry_run)
+ return 0;
+
+ if (verbose > 2) {
+ rprintf(FINFO, "set modtime of %s to (%ld) %s",
+ fname, (long) modtime,
+ asctime(localtime(&modtime)));
+ }
+
{
#ifdef HAVE_UTIMBUF
struct utimbuf tbuf;