SOURCES: eventum-svn.patch - add limit to explode call

glen glen at pld-linux.org
Tue Jul 25 08:16:56 CEST 2006


Author: glen                         Date: Tue Jul 25 06:16:56 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add limit to explode call

---- Files affected:
SOURCES:
   eventum-svn.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/eventum-svn.patch
diff -u SOURCES/eventum-svn.patch:1.1 SOURCES/eventum-svn.patch:1.2
--- SOURCES/eventum-svn.patch:1.1	Tue Jul 25 00:36:59 2006
+++ SOURCES/eventum-svn.patch	Tue Jul 25 08:16:51 2006
@@ -153,7 +153,7 @@
 +        $msg .= "Connection: Close\r\n\r\n";
 +        fwrite($fp, $msg);
 +        $buf = fgets($fp, 4096);
-+        list($proto, $status, $msg) = explode(' ', trim($buf));
++        list($proto, $status, $msg) = explode(' ', trim($buf), 3);
 +        if ($status != '200') {
 +            echo "Error: Could not ping the Eventum SCM handler script: HTTP status code: $status $msg\n";
          }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-svn.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list