OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 02-Jan-2005 17:15:07
Branch: HEAD Handle: 2005010216150600
Modified files:
openpkg-src/rsync rsync.patch
Log:
fix a few compilation warnings
Summary:
Revision Changes Path
1.13 +37 -13 openpkg-src/rsync/rsync.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/rsync/rsync.patch
============================================================================
$ cvs diff -u -r1.12 -r1.13 rsync.patch
--- openpkg-src/rsync/rsync.patch 2 Jan 2005 12:19:27 -0000 1.12
+++ openpkg-src/rsync/rsync.patch 2 Jan 2005 16:15:06 -0000 1.13
@@ -1,6 +1,42 @@
+Index: popt/popt.c
+--- popt/popt.c.orig 2004-06-09 23:41:21 +0200
++++ popt/popt.c 2005-01-02 17:09:28 +0100
+@@ -1128,7 +1128,7 @@
+ /[EMAIL PROTECTED]@*/
+ }
+
+-const char *const poptStrerror(const int error)
++const char *poptStrerror(const int error)
+ {
+ switch (error) {
+ case POPT_ERROR_NOARG:
+Index: popt/popt.h
+--- popt/popt.h.orig 2004-01-27 17:27:05 +0100
++++ popt/popt.h 2005-01-02 17:09:01 +0100
+@@ -373,7 +373,7 @@
+ * @return error string
+ */
+ /[EMAIL PROTECTED]@*/
+-/[EMAIL PROTECTED]@*/ const char *const poptStrerror(const int error)
++/[EMAIL PROTECTED]@*/ const char *poptStrerror(const int error)
+ /[EMAIL PROTECTED]/;
+ /[EMAIL PROTECTED]@*/
+
+Index: receiver.c
+--- receiver.c.orig 2004-09-21 11:24:06 +0200
++++ receiver.c 2005-01-02 17:07:40 +0100
+@@ -116,7 +116,7 @@
+ rprintf(FINFO, "deleting in %s\n", safe_fname(fbuf));
+
+ for (i = local_file_list->count-1; i >= 0; i--) {
+- if (max_delete && deletion_count > max_delete)
++ if (max_delete && deletion_count >= max_delete)
+ break;
+ if (!local_file_list->files[i]->basename)
+ continue;
Index: zlib/infcodes.c
--- zlib/infcodes.c.orig 2002-03-12 02:14:58 +0100
-+++ zlib/infcodes.c 2004-10-01 08:58:40 +0200
++++ zlib/infcodes.c 2005-01-02 17:07:40 +0100
@@ -197,8 +197,18 @@
c->mode = COPY;
case COPY: /* o: copying bytes in window, waiting for space */
@@ -20,15 +56,3 @@
while (c->len)
{
NEEDOUT
-Index: receiver.c
---- receiver.c.orig 2004-09-21 11:24:06 +0200
-+++ receiver.c 2005-01-02 13:11:02 +0100
-@@ -116,7 +116,7 @@
- rprintf(FINFO, "deleting in %s\n", safe_fname(fbuf));
-
- for (i = local_file_list->count-1; i >= 0; i--) {
-- if (max_delete && deletion_count > max_delete)
-+ if (max_delete && deletion_count >= max_delete)
- break;
- if (!local_file_list->files[i]->basename)
- continue;
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]