Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed the protocol version to 20 so that --stats will work without -v in
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
558fe98
..
5876066
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-24,8
+24,9
@@
extern int dry_run;
extern int read_only;
extern int dry_run;
extern int read_only;
+extern int list_only;
-#define CHECK_RO if (read_only) {errno = EROFS; return -1;}
+#define CHECK_RO if (read_only
|| list_only
) {errno = EROFS; return -1;}
int do_unlink(char *fname)
{
int do_unlink(char *fname)
{