Displaying 4 results from an estimated 4 matches for "rsync_rsh_env".
2002 Feb 21
1
[patch] configurable RSYNCD_CONF
I prefer configurable RSYNCD_CONF by autoconf to RSYNCD_CONF in rsync.h.
--- rsync.h.orig Tue Feb 19 06:46:49 2002
+++ rsync.h Thu Feb 21 00:59:11 2002
@@ -26,7 +26,8 @@
#define RSYNC_RSH_ENV "RSYNC_RSH"
#define RSYNC_NAME "rsync"
-#define RSYNCD_CONF "/etc/rsyncd.conf"
+
+/* RSYNCD_CONF is always set in config.h */
#define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock"
#define URL_PREFIX "rsync://"
--- configure.in.orig Wed Feb 20 08:4...
2004 Oct 13
0
[Bug 1924] New: unable to rsync between a PC with cygwin and a unix machine using rsh
...ection
to handle the of the whole command under cygwin rsh
----------------------------------------------------
*/
char *other_args[100] ;
int other_argc = 0 ;
char the_cmd[1024] ;
/* End of PFC patched section */
if (!read_batch && !local_server) {
char *rsh_env = getenv(RSYNC_RSH_ENV);
if (!cmd)
cmd = rsh_env;
if (!cmd)
cmd = RSYNC_RSH;
cmd = strdup(cmd);
if (!cmd)
goto oom;
for (tok = strtok(cmd, " "); tok; tok = strtok(NULL, " "))
args[argc++] = tok;
/* check to see if we've already been given '-l user' in
* the re...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch?
Thanks for the reminder.
I've just committed Jos's rsync+ patch onto the
"branch_mbp_rsyncplus_merge" branch. If it works OK and nobody
screams I will move it across onto the main tree tomorrow or
Wednesday.
I see the patch doesn't add documentation about the new options to the
man page, so we should fix that in the future.
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...main.c 5 Feb 2002 23:05:32 -0000 1.139
+++ main.c 6 Feb 2002 19:48:04 -0000
@@ -177,7 +177,7 @@
extern int blocking_io;
extern int read_batch;
- if (!read_batch && !local_server) { /* dw -- added read_batch */
+ if (!read_batch && !local_server) {
if (!cmd)
cmd = getenv(RSYNC_RSH_ENV);
if (!cmd)
@@ -230,7 +230,7 @@
if (local_server) {
if (read_batch)
- create_flist_from_batch();
+ create_flist_from_batch(); /* sets batch_flist */
ret = local_child(argc, args, f_in, f_out);
} else {
ret = piped_child(args,f_in,f_out);
@@ -443,8 +443,8 @@
extern int...