search for: chmod_modes

Displaying 6 results from an estimated 6 matches for "chmod_modes".

2006 Nov 21
1
rsync v2.6.9: small patch fixing NORETURN failures
...this stuff. THX for listening. CU Tom. (Thomas M.Ott) Germany -------------- next part -------------- --- rsync-2.6.9/proto.h.orig 2006-11-07 05:39:47.000000000 +0100 +++ rsync-2.6.9/proto.h 2006-11-21 21:32:26.000000000 +0100 @@ -21,7 +21,7 @@ int tweak_mode(int mode, struct chmod_mode_struct *chmod_modes); int free_chmod_mode(struct chmod_mode_struct *chmod_modes); void close_all(void); -NORETURN void _exit_cleanup(int code, const char *file, int line); +NORETURN void _exit_cleanup(int code, const char *file, int line) NORETURN2; void cleanup_disable(void); void cleanup_set(char *fnametmp, char...
2006 Nov 10
1
Internal error: wrong write used in receiver.
Hi, I'm using 2.6.9 but I get: recv_files phase=1 generate_files phase=2 recv_files phase=2 recv_files finished generate_files phase=3 deleting in home delete_in_dir(home) [generator] make_file(home/administ,*,2) Internal error: wrong write used in receiver. _exit_cleanup(code=2, file=io.c, line=1204): entered _exit_cleanup(code=19, file=main.c, line=1182): entered rsync error: received
2009 Jan 24
2
[patch] Replace illegal characters in filenames for FAT (switch)
...------------- next part -------------- diff --git a/options.c b/options.c index 8b67275..bfcb3e6 100644 --- a/options.c +++ b/options.c @@ -197,6 +197,7 @@ int need_unsorted_flist = 0; #ifdef ICONV_OPTION char *iconv_opt = ICONV_OPTION; #endif +int fat_filenames = 0; struct chmod_mode_struct *chmod_modes = NULL; @@ -779,6 +780,7 @@ void usage(enum logcode F) #ifdef ICONV_OPTION rprintf(F," --iconv=CONVERT_SPEC request charset conversion of filenames\n"); #endif + rprintf(F," --fat-filenames ensure filenames are legal on fat filesystems\n"); rprintf(...
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...f, int32 ndx) { diff -au rsync-3.0.6/pipe.c rsync-3.0.6.fast/pipe.c --- rsync-3.0.6/pipe.c 2009-01-17 23:41:35.000000000 +0200 +++ rsync-3.0.6.fast/pipe.c 2009-09-23 14:40:42.000000000 +0300 @@ -29,6 +29,7 @@ extern mode_t orig_umask; extern char *logfile_name; extern struct chmod_mode_struct *chmod_modes; +int local_socket = 0; /** * Create a child connected to us via its stdin/stdout. @@ -111,11 +112,15 @@ pid_t pid; int to_child_pipe[2]; int from_child_pipe[2]; + int child_socket[2]; /* The parent process is always the sender for a local rsync. */ assert(am_sender); if (fd_pa...
2008 Feb 15
4
Revised flags patch
...(f, uid); @@ -610,6 +624,9 @@ static struct file_struct *recv_file_ent { static int64 modtime; static mode_t mode; +#ifdef SUPPORT_FLAGS + static uint32 fileflags; +#endif #ifdef SUPPORT_HARD_LINKS static int64 dev; #endif @@ -745,6 +762,11 @@ static struct file_struct *recv_file_ent if (chmod_modes && !S_ISLNK(mode)) mode = tweak_mode(mode, chmod_modes); +#ifdef SUPPORT_FLAGS + if (fileflags_ndx && !(xflags & XMIT_SAME_FLAGS)) + fileflags = (uint32)read_int(f); +#endif + if (uid_ndx && !(xflags & XMIT_SAME_UID)) { if (protocol_version < 30) ui...
2007 Sep 22
0
rsync build on IA64 using icc
...ry source file extern mode_t orig_umask; ^ rsync.c(51): remark #1419: external declaration in primary source file extern struct stats stats; ^ rsync.c(52): remark #1419: external declaration in primary source file extern struct chmod_mode_struct *daemon_chmod_modes; ^ rsync.c(139): remark #981: operands are evaluated in unspecified order full_fname(fname)); ^ rsync.c(138): remark #981: operands are evaluated in unspecified order rsyserr(FERROR, errno, "stat %s failed", ^ rsync.c(158): remar...