search for: same_time

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

2001 Sep 01
3
Patch to make rsync preserve access times
...Jan 26 23:53:39 2000 > --- ./flist.c Mon Feb 7 00:52:17 2000 ... > *************** > *** 201,206 **** > --- 203,209 ---- > if (file->uid == last_uid) flags |= SAME_UID; > if (file->gid == last_gid) flags |= SAME_GID; > if (file->modtime == last_time) flags |= SAME_TIME; > + if (file->accesstime == last_access_time) flags |= SAME_ACCESS_TIME; > > for (l1=0;lastname[l1] && (fname[l1] == lastname[l1]) && (l1 < 255);l1++) ; > l2 = strlen(fname) - l1; Setting this additional flag bit, SAME_ACCESS_TIME, should probably onl...
2003 Jul 24
0
(no subject)
...struct **f2); int flist_find(struct file_list *flist, struct file_struct *f); diff -E -B -c -r rsync-2.5.6/rsync.h rsync-2.5.6-remotebatch/rsync.h *** rsync-2.5.6/rsync.h Sun Jan 26 20:11:16 2003 --- rsync-2.5.6-remotebatch/rsync.h Wed Jul 23 10:52:41 2003 *************** *** 50,56 **** #define SAME_TIME (1<<7) /* update this if you make incompatible changes */ ! #define PROTOCOL_VERSION 26 /* We refuse to interoperate with versions that are not in this range. * Note that we assume we'll work with later versions: the onus is on --- 50,56 ---- #define SAME_TIME (1<<7)...
2002 May 04
1
A simpler move-files patch
...-dest"; args[ac++] = compare_dest; } + + if (move_files) + args[ac++] = "--move-files"; *argc = ac; } Index: rsync.h --- rsync.h 2002/04/11 02:18:51 1.131 +++ rsync.h 2002/05/04 19:20:29 @@ -47,6 +47,7 @@ #define SAME_NAME SAME_DIR #define LONG_NAME (1<<6) #define SAME_TIME (1<<7) +#define FLAG_NO_DELETE (1<<8) /* update this if you make incompatible changes */ #define PROTOCOL_VERSION 26 Index: rsync.yo --- save/rsync.yo Fri May 3 16:35:18 2002 +++ rsync.yo Sat May 4 11:53:41 2002 @@ -254,6 +254,7 @@ --delete-after delete after transf...
2003 Mar 30
1
[RFC][patch] dynamic rolling block and sum sizes II
...____________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt -------------- next part -------------- --- rsync.h Sat Mar 29 11:11:30 2003 +++ rsync.h Sat Mar 29 12:15:15 2003 @@ -50,7 +50,7 @@ #define SAME_TIME (1<<7) /* update this if you make incompatible changes */ -#define PROTOCOL_VERSION 26 +#define PROTOCOL_VERSION 27 /* We refuse to interoperate with versions that are not in this range. * Note that we assume we'll work with later versions: the onus is on @@ -406,7 +406,8 @@ OFF...
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
...ist.c 17 Jan 2004 05:04:54 -0000 @@ -602,7 +602,7 @@ void receive_file_entry(struct file_stru if (!file->basename) out_of_memory("receive_file_entry 1"); - file->flags = flags; + file->flags = flags & LIVE_FLAGS; file->length = read_longint(f); if (!(flags & SAME_TIME)) modtime = (time_t)read_int(f); Index: io.c --- io.c 16 Jan 2004 16:31:47 -0000 1.119 +++ io.c 17 Jan 2004 05:04:54 -0000 @@ -222,6 +222,14 @@ static void read_msg_fd(void) read_loop(fd, buf, 4); redo_list_add(IVAL(buf,0)); break; + case MSG_SUCCESS: + if (len != 4) { + rprintf(FERR...
2003 Mar 23
1
[RFC] dynamic checksum size
...___________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt -------------- next part -------------- --- rsync.h Sat Mar 22 02:34:59 2003 +++ rsync.h.dynsumlen Sat Mar 22 09:47:43 2003 @@ -50,7 +50,7 @@ #define SAME_TIME (1<<7) /* update this if you make incompatible changes */ -#define PROTOCOL_VERSION 26 +#define PROTOCOL_VERSION 27 /* We refuse to interoperate with versions that are not in this range. * Note that we assume we'll work with later versions: the onus is on @@ -385,7 +385,8 @@ OFF...