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
- Call init_flist().
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
b40922a
..
03133cf
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1013,6
+1013,8
@@
int main(int argc,char *argv[])
* that implement getcwd that way "pwd" can't be found after chroot. */
push_dir(NULL);
* that implement getcwd that way "pwd" can't be found after chroot. */
push_dir(NULL);
+ init_flist();
+
if (write_batch && !am_server) {
write_batch_argvs_file(orig_argc, orig_argv);
}
if (write_batch && !am_server) {
write_batch_argvs_file(orig_argc, orig_argv);
}
@@
-1028,13
+1030,6
@@
int main(int argc,char *argv[])
if (dry_run)
verbose = MAX(verbose,1);
if (dry_run)
verbose = MAX(verbose,1);
-#ifndef SUPPORT_LINKS
- if (!am_server && preserve_links) {
- rprintf(FERROR,"ERROR: symbolic links not supported\n");
- exit_cleanup(RERR_UNSUPPORTED);
- }
-#endif
-
if (am_server) {
set_nonblocking(STDIN_FILENO);
set_nonblocking(STDOUT_FILENO);
if (am_server) {
set_nonblocking(STDIN_FILENO);
set_nonblocking(STDOUT_FILENO);