]> git.pld-linux.org Git - packages/php.git/commitdiff
- updated for 4.2.0rc3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 12 Apr 2002 23:39:35 +0000 (23:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-no_php_pcre_in_SAPI_c.patch -> 1.2.2.1

php-no_php_pcre_in_SAPI_c.patch

index fed486163100b050874cabe80f1646006492cf1c..2c808d33d58ca65cb2453060658b2a857a560ebd 100644 (file)
@@ -1,7 +1,7 @@
-diff -Nur php-4.1.2.orig/main/SAPI.c php-4.1.2/main/SAPI.c
---- php-4.1.2.orig/main/SAPI.c Mon Jan 14 14:43:03 2002
-+++ php-4.1.2/main/SAPI.c      Wed Feb 27 15:21:13 2002
-@@ -25,9 +25,6 @@
+diff -urN php-4_2_0RC3.org/main/SAPI.c php-4_2_0RC3/main/SAPI.c
+--- php-4_2_0RC3.org/main/SAPI.c       Sat Apr 13 01:18:30 2002
++++ php-4_2_0RC3/main/SAPI.c   Sat Apr 13 01:38:42 2002
+@@ -27,9 +27,6 @@
  #include "SAPI.h"
  #include "ext/standard/php_string.h"
  #include "ext/standard/pageinfo.h"
@@ -11,7 +11,7 @@ diff -Nur php-4.1.2.orig/main/SAPI.c php-4.1.2/main/SAPI.c
  #ifdef ZTS
  #include "TSRM.h"
  #endif
-@@ -448,65 +445,8 @@
+@@ -465,65 +462,8 @@
                        } else if (!STRCASECMP(header_line, "WWW-Authenticate")) { /* HTTP Authentication */
                                int newlen;
                                char *result, *newheader;
@@ -55,7 +55,7 @@ diff -Nur php-4.1.2.orig/main/SAPI.c php-4.1.2/main/SAPI.c
 -                                                              efree(result);
 -                                                              conv_len = sprintf(conv_temp," realm=\"%ld\"",myuid);           
 -                                                              result = emalloc(ptr_len+conv_len+1);
--                                                              result_len = ptr_len + conv_len;
+-                                                              result_len = ptr_len+conv_len;
 -                                                              memcpy(result, ptr, ptr_len);   
 -                                                              memcpy(result+ptr_len, conv_temp, conv_len);
 -                                                              *(result+ptr_len+conv_len) = '\0';
@@ -72,12 +72,12 @@ diff -Nur php-4.1.2.orig/main/SAPI.c php-4.1.2/main/SAPI.c
 -                                      efree(result);
 -                                      efree(Z_STRVAL_P(repl_temp));
 -                                      efree(repl_temp);
--                              }
+-                              } 
 -#else
                                if(PG(safe_mode)) {
                                        myuid = php_getuid();
                                        result = emalloc(32);
-@@ -517,7 +457,6 @@
+@@ -534,7 +474,6 @@
                                        sapi_header.header_len = newlen;
                                        efree(result);
                                } 
This page took 0.805688 seconds and 4 git commands to generate.