SOURCES (RA-branch): zoo-CAN-2005-2349.patch - updated for gcc 2.95

hawk hawk at pld-linux.org
Thu Mar 16 23:19:41 CET 2006


Author: hawk                         Date: Thu Mar 16 22:19:41 2006 GMT
Module: SOURCES                       Tag: RA-branch
---- Log message:
- updated for gcc 2.95

---- Files affected:
SOURCES:
   zoo-CAN-2005-2349.patch (1.1 -> 1.1.2.1) 

---- Diffs:

================================================================
Index: SOURCES/zoo-CAN-2005-2349.patch
diff -u SOURCES/zoo-CAN-2005-2349.patch:1.1 SOURCES/zoo-CAN-2005-2349.patch:1.1.2.1
--- SOURCES/zoo-CAN-2005-2349.patch:1.1	Thu Mar 16 20:47:16 2006
+++ SOURCES/zoo-CAN-2005-2349.patch	Thu Mar 16 23:19:36 2006
@@ -2,11 +2,18 @@
 
 --- portable.c
 +++ portable.c
-@@ -364,6 +364,31 @@
+@@ -344,6 +344,7 @@
+ ZOOFILE zoo_file;
+ {
+    int status;
++   char *p;
+    BYTE bytes[MAXDIRSIZE];    /* big enough to hold variable part too */
+ 
+    /* To simplify things, we read the maximum possible size of the
+@@ -364,6 +365,30 @@
        show_dir(direntry);
     }
  #endif
-+   char *p;
 +   /* take off '../'   */
 +   while ((p = strstr( direntry->dirname, "../" )) != NULL) {
 +      while (*(p+3) != '\0') {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/zoo-CAN-2005-2349.patch?r1=1.1&r2=1.1.2.1&f=u



More information about the pld-cvs-commit mailing list