Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36bbf3d
)
Changed tls.c to not display the atime for a directory.
author
Wayne Davison
<wayned@samba.org>
Wed, 23 Mar 2005 17:53:40 +0000
(17:53 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 23 Mar 2005 17:53:40 +0000
(17:53 +0000)
atimes.diff
patch
|
blob
|
blame
|
history
diff --git
a/atimes.diff
b/atimes.diff
index
2fdfda2
..
8abbad9
100644
(file)
--- a/
atimes.diff
+++ b/
atimes.diff
@@
-4,7
+4,7
@@
command before "make":
make proto
make proto
---- orig/batch.c 2005-03-16 02:19:29
.133830510
+--- orig/batch.c 2005-03-16 02:19:29
+++ batch.c 2004-07-03 20:15:41
@@ -197,6 +197,8 @@ void show_flist(int index, struct file_s
rprintf(FINFO, "flist->flags=%#x\n", fptr[i]->flags);
+++ batch.c 2004-07-03 20:15:41
@@ -197,6 +197,8 @@ void show_flist(int index, struct file_s
rprintf(FINFO, "flist->flags=%#x\n", fptr[i]->flags);
@@
-15,7
+15,7
@@
command before "make":
rprintf(FINFO, "flist->length=%.0f\n",
(double) fptr[i]->length);
rprintf(FINFO, "flist->mode=%#o\n", (int) fptr[i]->mode);
rprintf(FINFO, "flist->length=%.0f\n",
(double) fptr[i]->length);
rprintf(FINFO, "flist->mode=%#o\n", (int) fptr[i]->mode);
---- orig/flist.c 2005-03-16 02:19:29
.897764030
+--- orig/flist.c 2005-03-16 02:19:29
+++ flist.c 2005-02-07 21:06:04
@@ -54,6 +54,7 @@ extern int relative_paths;
extern int implied_dirs;
+++ flist.c 2005-02-07 21:06:04
@@ -54,6 +54,7 @@ extern int relative_paths;
extern int implied_dirs;
@@
-127,7
+127,7
@@
command before "make":
file->length = st.st_size;
file->mode = st.st_mode;
file->uid = st.st_uid;
file->length = st.st_size;
file->mode = st.st_mode;
file->uid = st.st_uid;
---- orig/generator.c 2005-03-1
6 02:19:29.980756807
+--- orig/generator.c 2005-03-1
7 09:05:21
+++ generator.c 2004-11-03 23:02:12
@@ -373,7 +373,7 @@ static int unchanged_file(char *fn, stru
if (ignore_times)
+++ generator.c 2004-11-03 23:02:12
@@ -373,7 +373,7 @@ static int unchanged_file(char *fn, stru
if (ignore_times)
@@
-147,7
+147,7
@@
command before "make":
if (verbose > 1)
rprintf(FINFO, "%s is newer\n", safe_fname(fname));
return;
if (verbose > 1)
rprintf(FINFO, "%s is newer\n", safe_fname(fname));
return;
---- orig/options.c 2005-03-1
6 02:19:30.15274184
1
+--- orig/options.c 2005-03-1
7 09:05:2
1
+++ options.c 2005-02-21 10:53:28
@@ -50,6 +50,7 @@ int preserve_uid = 0;
int preserve_gid = 0;
+++ options.c 2005-02-21 10:53:28
@@ -50,6 +50,7 @@ int preserve_uid = 0;
int preserve_gid = 0;
@@
-182,7
+182,7
@@
command before "make":
if (omit_dir_times == 2 && am_sender)
argstr[x++] = 'O';
if (preserve_perms)
if (omit_dir_times == 2 && am_sender)
argstr[x++] = 'O';
if (preserve_perms)
---- orig/rsync.c 2005-03-16 02:19:30
.453715649
+--- orig/rsync.c 2005-03-16 02:19:30
+++ rsync.c 2005-02-21 10:57:03
@@ -27,6 +27,7 @@ extern int dry_run;
extern int daemon_log_format_has_i;
+++ rsync.c 2005-02-21 10:57:03
@@ -27,6 +27,7 @@ extern int dry_run;
extern int daemon_log_format_has_i;
@@
-234,7
+234,7
@@
command before "make":
}
change_uid = am_root && preserve_uid && st->st_uid != file->uid;
}
change_uid = am_root && preserve_uid && st->st_uid != file->uid;
---- orig/rsync.h 2005-03-16 02:19:30
.524709471
+--- orig/rsync.h 2005-03-16 02:19:30
+++ rsync.h 2004-07-03 20:15:41
@@ -54,6 +54,7 @@
#define XMIT_HAS_IDEV_DATA (1<<9)
+++ rsync.h 2004-07-03 20:15:41
@@ -54,6 +54,7 @@
#define XMIT_HAS_IDEV_DATA (1<<9)
@@
-260,7
+260,7
@@
command before "make":
uid_t uid;
gid_t gid;
mode_t mode;
uid_t uid;
gid_t gid;
mode_t mode;
---- orig/rsync.yo 2005-03-16 02:19:30
.727691806
+--- orig/rsync.yo 2005-03-16 02:19:30
+++ rsync.yo 2005-01-24 01:57:18
@@ -321,6 +321,7 @@ to the detailed description below for a
-D, --devices preserve devices (root only)
+++ rsync.yo 2005-01-24 01:57:18
@@ -321,6 +321,7 @@ to the detailed description below for a
-D, --devices preserve devices (root only)
@@
-333,7
+333,7
@@
command before "make":
diff $diffopt "$tmpdir/ls-from" "$tmpdir/ls-to" || failed=YES
--- orig/tls.c 2005-01-19 19:30:29
diff $diffopt "$tmpdir/ls-from" "$tmpdir/ls-to" || failed=YES
--- orig/tls.c 2005-01-19 19:30:29
-+++ tls.c 200
4-07-03 20:15:41
++++ tls.c 200
5-03-23 17:49:48
@@ -39,6 +39,7 @@
@@ -39,6 +39,7 @@
@@
-412,7
+412,7
@@
command before "make":
+ printf(" %6ld.%-6ld %6ld %s%s%s%s\n",
(long)buf.st_uid, (long)buf.st_gid, (long)buf.st_nlink,
- datebuf, fname, linkbuf);
+ printf(" %6ld.%-6ld %6ld %s%s%s%s\n",
(long)buf.st_uid, (long)buf.st_gid, (long)buf.st_nlink,
- datebuf, fname, linkbuf);
-+ mtimebuf, display_atime ? atimebuf : "",
++ mtimebuf, display_atime
&& !S_ISDIR(buf.st_mode)
? atimebuf : "",
+ fname, linkbuf);
}
+ fname, linkbuf);
}
@@
-469,7
+469,7
@@
command before "make":
return 0;
}
return 0;
}
---- orig/util.c 2005-03-1
1 17:36:35
+--- orig/util.c 2005-03-1
7 09:05:21
+++ util.c 2005-02-07 21:09:12
@@ -128,12 +128,17 @@ void overflow(char *str)
+++ util.c 2005-02-07 21:09:12
@@ -128,12 +128,17 @@ void overflow(char *str)