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:
1183260
)
Fixed --delete-delay by making the fprintf() output an unsigned short
author
Wayne Davison
<wayned@samba.org>
Fri, 8 Dec 2006 15:10:12 +0000
(15:10 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 8 Dec 2006 15:10:12 +0000
(15:10 +0000)
for the mode.
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
abdbaaf
..
3607f2e
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-403,7
+403,7
@@
static void delete_in_dir(struct file_list *flist, char *fbuf,
if (flist_find(flist, fp) < 0) {
f_name(fp, delbuf);
if (delete_delay_fp)
- fprintf(delete_delay_fp, "%o %s%c",
(short)
fp->mode, delbuf, '\0');
+ fprintf(delete_delay_fp, "%o %s%c", fp->mode, delbuf, '\0');
else
delete_item(delbuf, fp->mode, NULL, DEL_RECURSE);
}