SOURCES: eventum-scm-parse-response.patch (NEW), eventum-upload-er...

glen glen at pld-linux.org
Thu Feb 9 00:26:21 CET 2006


Author: glen                         Date: Wed Feb  8 23:26:21 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added

---- Files affected:
SOURCES:
   eventum-scm-parse-response.patch (NONE -> 1.1)  (NEW), eventum-upload-error-keep-popup.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/eventum-scm-parse-response.patch
diff -u /dev/null SOURCES/eventum-scm-parse-response.patch:1.1
--- /dev/null	Thu Feb  9 00:26:21 2006
+++ SOURCES/eventum-scm-parse-response.patch	Thu Feb  9 00:26:15 2006
@@ -0,0 +1,14 @@
+--- eventum-20060112/misc/scm/process_cvs_commits.php	2006-01-24 17:10:02.000000000 +0200
++++ /tmp/scm	2006-01-24 17:09:31.000000000 +0200
+@@ -94,6 +95,11 @@
+         $msg .= "Host: $eventum_domain\r\n";
+         $msg .= "Connection: Close\r\n\r\n";
+         fwrite($fp, $msg);
++        $buf = fgets($fp, 4096);
++        list($proto, $status, $msg) = explode(' ', trim($buf));
++        if ($status != '200') {
++            echo "Error: Could not ping the Eventum SCM handler script: HTTP status code: $status $msg\n";
++        }
+         fclose($fp);
+     }
+ }

================================================================
Index: SOURCES/eventum-upload-error-keep-popup.patch
diff -u /dev/null SOURCES/eventum-upload-error-keep-popup.patch:1.1
--- /dev/null	Thu Feb  9 00:26:21 2006
+++ SOURCES/eventum-upload-error-keep-popup.patch	Thu Feb  9 00:26:15 2006
@@ -0,0 +1,11 @@
+--- ../templates/en/file_upload.tpl.html~	2006-01-12 17:32:22.000000000 +0200
++++ ../templates/en/file_upload.tpl.html	2006-01-12 17:32:29.221793302 +0200
+@@ -15,7 +15,7 @@
+     </center>
+     <script language="JavaScript">
+     <!--
+-    {if $current_user_prefs.close_popup_windows == '1'}
++    {if $current_user_prefs.close_popup_windows == '1' && $upload_file_result == 1}
+     setTimeout('closeAndRefresh()', 2000);
+     {/if}
+     //-->
================================================================


More information about the pld-cvs-commit mailing list