git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
458aeea
)
Call make_file() with one more arg (the base flags).
author
Wayne Davison
<wayned@samba.org>
Fri, 20 Jan 2006 21:21:36 +0000
(21:21 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 20 Jan 2006 21:21:36 +0000
(21:21 +0000)
backup.c
patch
|
blob
|
history
generator.c
patch
|
blob
|
history
diff --git
a/backup.c
b/backup.c
index 15a8f97e093996507ad5e673598058b951591df0..d36524a8a4baafb0ee1cced1811c7464c86f4ba9 100644
(file)
--- a/
backup.c
+++ b/
backup.c
@@
-180,7
+180,7
@@
static int keep_backup(char *fname)
if (do_lstat(fname, &st) < 0)
return 1;
- if (!(file = make_file(fname, NULL, NULL, NO_FILTERS)))
+ if (!(file = make_file(fname, NULL, NULL,
0,
NO_FILTERS)))
return 1; /* the file could have disappeared */
if (!(buf = get_backup_name(fname)))
diff --git
a/generator.c
b/generator.c
index 8e731e28fef5cfd0dfcabc5f9709d9c6d4366e1f..b31c03398096dcba1900d5460102ff722152e524 100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1195,7
+1195,7
@@
static void recv_generator(char *fname, struct file_struct *file, int ndx,
close(fd);
return;
}
- if (!(back_file = make_file(fname, NULL, NULL, NO_FILTERS))) {
+ if (!(back_file = make_file(fname, NULL, NULL,
0,
NO_FILTERS))) {
close(fd);
goto pretend_missing;
}