Displaying 6 results from an estimated 6 matches for "set_allow_inc_recurse".
2010 Dec 18
0
Compilation for mac OS X with detect-renamed.diff patch
...es/detect-renamed.diff
./prepare-source
CFLAGS=-m32 CPPFLAGS=-m32 CCASFLAGS=-m32 ./configure
CFLAGS=-m32 CPPFLAGS=-m32 CCASFLAGS=-m32 make
But the make ends with errors :
gcc -std=gnu99 -I. -I. -m32 -DHAVE_CONFIG_H -Wall -W -I./popt -m32 -c
compat.c -o compat.o
compat.c: In function 'set_allow_inc_recurse':
compat.c:128: error: 'detect_renamed' undeclared (first use in this
function)
compat.c:128: error: (Each undeclared identifier is reported only once
compat.c:128: error: for each function it appears in.)
make: *** [compat.o] Error 1
I made different tries :
1/ only the 2 pat...
2008 Mar 07
1
--server combined with -e option
...88 #if SUBPROTOCOL_VERSION != 0
1789 if (protocol_version == PROTOCOL_VERSION) {
1790 x += snprintf(argstr+x, sizeof argstr - x,
1791 "%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION);
1792 } else
1793 #endif
1794 argstr[x++] = '.';
1795 set_allow_inc_recurse();
1796 if (allow_inc_recurse)
1797 argstr[x++] = 'i';
1798 #if defined HAVE_LUTIMES && defined HAVE_UTIMES
1799 argstr[x++] = 'L';
1800 #endif
1801 argstr[x] = '\0';
The above "e.iL" definitely matches, so I know I'm close.
Is it...
2008 Mar 19
1
rsync --server -e VERSION issue
...+] = 'e';
if (protocol_version == PROTOCOL_VERSION) {
x += snprintf(argstr+x, sizeof argstr - x,
"%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION);
} else
-#endif
argstr[x++] = '.';
+#endif
set_allow_inc_recurse();
if (allow_inc_recurse)
argstr[x++] = 'i';
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.samba.org/...
2013 Oct 24
0
patch for combining detect-renamed and fileflags patches (fwd)
...t delay_updates;
++extern int detect_renamed;
+ extern int checksum_seed;
extern int basis_dir_cnt;
extern int prune_empty_dirs;
- extern int protocol_version;
-+extern int detect_renamed;
- extern int protect_args;
- extern int preserve_uid;
- extern int preserve_gid;
-@@ -123,6 +124,7 @@ void set_allow_inc_recurse(void)
+@@ -125,6 +126,7 @@
allow_inc_recurse = 0;
else if (!am_sender
&& (delete_before || delete_after
@@ -61,15 +61,15 @@
diff --git a/delete.c b/delete.c
--- a/delete.c
+++ b/delete.c
-@@ -25,6 +25,7 @@
+@@ -23,6 +23,7 @@
+ #include "rsync.h"
+
extern int am_ro...
2010 Dec 28
4
MacOS and Extended Attributes
I'm just starting with rsync(). I grabbed the 3.0.7 source and built it on Mac OS X.6.5 (./configure and ./make reported no problems.) When I try running with -X or -A, I get the following error messages:
rsync: unpack_smb_acl: sys_acl_get_info(): Unknown error: 0 (0)
rsync: unpack_smb_acl: sys_acl_get_info(): Unknown error: 0 (0)
A quick look at the buglist didn't reveal anything to
2020 Feb 06
0
[PATCH] Add support for zstd compression
...+ }
+#endif
#ifdef HAVE_SETVBUF
if (outbuf_mode && !am_server) {
@@ -2503,6 +2547,8 @@ void server_options(char **args, int *argc_p)
argstr[x++] = 'S';
if (do_compression == 1)
argstr[x++] = 'z';
+ if (do_compression_zstd == 1)
+ argstr[x++] = 'Z';
set_allow_inc_recurse();
@@ -2577,6 +2623,12 @@ void server_options(char **args, int *argc_p)
args[ac++] = arg;
}
+ if (do_compression_zstd && def_compress_level != Z_DEFAULT_COMPRESSION) {
+ if (asprintf(&arg, "--compress-level=%d", def_compress_level) < 0)
+ goto oom;
+ args[ac++]...