Mailinglist Archive: opensuse-commit (1083 mails)
| < Previous | Next > |
commit rsync
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Tue, 11 Sep 2007 18:36:05 +0200
- Message-id: <20070911163605.7787D6781B8@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package rsync
checked in at Tue Sep 11 18:36:05 CEST 2007.
--------
--- rsync/rsync.changes 2007-08-17 15:03:46.000000000 +0200
+++ /mounts/work_src_done/STABLE/rsync/rsync.changes 2007-09-10 17:36:51.735558000 +0200
@@ -1,0 +2,6 @@
+Mon Sep 10 17:30:57 CEST 2007 - ro@xxxxxxx
+
+- fix abort in rsync when acls and fuzzy are used together
+ (#306263)
+
+-------------------------------------------------------------------
New:
----
rsync-fix_fuzzy.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rsync.spec ++++++
--- /var/tmp/diff_new_pack.I25761/_old 2007-09-11 18:35:50.000000000 +0200
+++ /var/tmp/diff_new_pack.I25761/_new 2007-09-11 18:35:50.000000000 +0200
@@ -23,7 +23,7 @@
PreReq: %fillup_prereq %insserv_prereq
Autoreqprov: on
Version: 2.6.9
-Release: 34
+Release: 45
Summary: Replacement for RCP/mirror that has Many More Features
Source: samba.org/ftp/rsync/rsync-%{version}.tar.bz2
Source1: logrotate.rsync
@@ -36,6 +36,7 @@
Patch3: system-zlib.diff
Patch4: rsync-overlong.patch
Patch5: lutimes-hack.diff
+Patch6: rsync-fix_fuzzy.patch
URL: http://rsync.samba.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define with_system_zlib 0
@@ -73,6 +74,7 @@
%patch1
%patch4 -p1
%patch5
+%patch6
cp configure.orig configure
%build
@@ -138,6 +140,9 @@
%doc COPYING NEWS README tech_report.ps tech_report.tex
%changelog
+* Mon Sep 10 2007 - ro@xxxxxxx
+- fix abort in rsync when acls and fuzzy are used together
+ (#306263)
* Fri Aug 17 2007 - cthiel@xxxxxxx
- added lutimes-hack.diff to work around a glibc bug in lutimes.c
* Thu Aug 02 2007 - ro@xxxxxxx
++++++ rsync-fix_fuzzy.patch ++++++
--- flist.c 2007/09/10 14:55:19 1.5
+++ flist.c 2007/09/10 15:30:23
@@ -998,7 +998,7 @@
file->mode = tweak_mode(file->mode, chmod_modes);
#ifdef SUPPORT_ACLS
- if (preserve_acls) {
+ if (preserve_acls && f >= 0) {
sx.st.st_mode = file->mode;
sx.acc_acl = sx.def_acl = NULL;
if (get_acl(fname, &sx) < 0)
@@ -1006,7 +1006,7 @@
}
#endif
#ifdef SUPPORT_XATTRS
- if (preserve_xattrs) {
+ if (preserve_xattrs && f >= 0) {
sx.xattr = NULL;
if (get_xattr(fname, &sx) < 0)
return NULL;
@@ -1021,20 +1021,20 @@
flist->files[flist->count++] = file;
send_file_entry(file, f);
#ifdef SUPPORT_ACLS
- if (preserve_acls)
+ if (preserve_acls && f >= 0)
send_acl(&sx, f);
#endif
#ifdef SUPPORT_XATTRS
- if (preserve_xattrs)
+ if (preserve_xattrs && f >= 0)
send_xattr(&sx, f);
#endif
} else {
#ifdef SUPPORT_ACLS
- if (preserve_acls)
+ if (preserve_acls && f >= 0)
free_acl(&sx);
#endif
#ifdef SUPPORT_XATTRS
- if (preserve_xattrs)
+ if (preserve_xattrs && f >= 0)
free_xattr(&sx);
#endif
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |