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:
c0d8e84
)
Got rid of read_batch special case.
author
Wayne Davison
<wayned@samba.org>
Wed, 21 Jul 2004 23:59:33 +0000
(23:59 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 21 Jul 2004 23:59:33 +0000
(23:59 +0000)
pipe.c
patch
|
blob
|
blame
|
history
diff --git
a/pipe.c
b/pipe.c
index
90c7679
..
2225cc6
100644
(file)
--- a/
pipe.c
+++ b/
pipe.c
@@
-25,7
+25,6
@@
extern int am_sender;
extern int am_server;
extern int blocking_io;
extern int orig_umask;
extern int am_server;
extern int blocking_io;
extern int orig_umask;
-extern int read_batch;
extern int write_batch;
extern int filesfrom_fd;
extern int write_batch;
extern int filesfrom_fd;
@@
-121,7
+120,7
@@
pid_t local_child(int argc, char **argv, int *f_in, int *f_out,
}
/* For read-batch, don't even fork. */
}
/* For read-batch, don't even fork. */
- pid =
read_batch ? getpid() :
do_fork();
+ pid = do_fork();
if (pid == -1) {
rsyserr(FERROR, errno, "fork");
if (pid == -1) {
rsyserr(FERROR, errno, "fork");