diff --git a/rsync-3.0.1-xattr-alloc.diff b/rsync-3.0.1-xattr-alloc.diff index 258a85d..11b3775 100644 --- a/rsync-3.0.1-xattr-alloc.diff +++ b/rsync-3.0.1-xattr-alloc.diff @@ -21,3 +21,15 @@ if (verbose >= 4) { rprintf(FINFO, "[%s] expand %s to %.0f bytes, did%s move\n", who_am_i(), desc, (double)new_size * item_size, +diff -uPr rsync-2.6.9.orig/proto.h rsync-2.6.9/proto.h +--- rsync-2.6.9.orig/proto.h 2008-04-08 16:44:42.000000000 -0400 ++++ rsync-2.6.9/proto.h 2008-04-09 10:23:52.000000000 -0400 +@@ -322,7 +322,7 @@ + int cmp_time(time_t file1, time_t file2); + int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6); + void *_new_array(unsigned int size, unsigned long num); +-void *_realloc_array(void *ptr, unsigned int size, unsigned long num); ++void *_realloc_array(void *ptr, unsigned int size, size_t num) + const char *find_filename_suffix(const char *fn, int fn_len, int *len_ptr); + uint32 fuzzy_distance(const char *s1, int len1, const char *s2, int len2); + struct bitbag *bitbag_create(int max_ndx); diff --git a/rsync.spec b/rsync.spec index e99f33f..472fab5 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,7 +1,7 @@ Summary: A program for synchronizing files over a network. Name: rsync Version: 2.6.9 -Release: 4%{?dist} +Release: 5%{?dist} Group: Applications/Internet # TAG: for pre versions use #Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}pre1.tar.gz @@ -62,7 +62,7 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/rsyncd.conf.5* %changelog -* Tue Apr 8 2008 Simo Sorce 2.6.9-4.fc7 +* Tue Apr 8 2008 Simo Sorce 2.6.9-5.fc7 - Security release: http://rsync.samba.org/security.html#s3_0_2 * Wed Sep 5 2007 Simo Sorce 2.6.9-3.fc7