[prev in list] [next in list] [prev in thread] [next in thread]
List: rsync-cvs
Subject: [SCM] The rsync repository. - branch master updated
From: Rsync CVS commit messages <rsync-cvs () lists ! samba ! org>
Date: 2011-04-04 1:02:15
Message-ID: mailman.7.1301879069.1434.rsync-cvs () lists ! samba ! org
[Download RAW message or body]
The branch, master has been updated
via 8686d3a Move var declaration for older C compilers.
from 73b9b90 Adding release info for 3.0.8 to the trunk.
;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 8686d3abba4c5b4baf443871cd19c673056a3392
Author: Wayne Davison <wayned@samba.org>
Date: Sun Apr 3 18:02:45 2011 -0700
Move var declaration for older C compilers.
-----------------------------------------------------------------------
Summary of changes:
flist.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/flist.c b/flist.c
index f90c286..0758f89 100644
--- a/flist.c
+++ b/flist.c
@@ -1734,11 +1734,12 @@ static void send_directory(int f, struct file_list *flist, char *fbuf, int len,
remainder = 0;
for (errno = 0, di = readdir(d); di; errno = 0, di = readdir(d)) {
+ unsigned name_len;
char *dname = d_name(di);
if (dname[0] == '.' && (dname[1] == '\0'
|| (dname[1] == '.' && dname[2] == '\0')))
continue;
- unsigned name_len = strlcpy(p, dname, remainder);
+ name_len = strlcpy(p, dname, remainder);
if (name_len >= remainder) {
char save = fbuf[len];
fbuf[len] = '\0';
--
The rsync repository.
_______________________________________________
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic