[Pkg-php-commits] [php/debian-sid] quilt refreshed suhosin.patch
Ondřej Surý
ondrej at sury.org
Mon Jan 24 07:53:32 UTC 2011
---
debian/patches/suhosin.patch | 266 ++++++++++++++---------------------------
1 files changed, 91 insertions(+), 175 deletions(-)
diff --git a/debian/patches/suhosin.patch b/debian/patches/suhosin.patch
index c427a52..77d0855 100644
--- a/debian/patches/suhosin.patch
+++ b/debian/patches/suhosin.patch
@@ -9,10 +9,8 @@ the following modifications have been made:
* removed changes to ./configure & ./main/php_config.h.in since those
files are autogenerated
* "quilt refresh" has been run to clean up the offsets, etc
-Index: php-5.3.3RC3/Zend/Makefile.am
-===================================================================
---- php-5.3.3RC3.orig/Zend/Makefile.am
-+++ php-5.3.3RC3/Zend/Makefile.am
+--- a/Zend/Makefile.am
++++ b/Zend/Makefile.am
@@ -17,7 +17,7 @@ libZend_la_SOURCES=\
zend_objects_API.c zend_ts_hash.c zend_stream.c \
zend_default_classes.c \
@@ -22,10 +20,8 @@ Index: php-5.3.3RC3/Zend/Makefile.am
libZend_la_LDFLAGS =
libZend_la_LIBADD = @ZEND_EXTRA_LIBS@
-Index: php-5.3.3RC3/Zend/Zend.dsp
-===================================================================
---- php-5.3.3RC3.orig/Zend/Zend.dsp
-+++ php-5.3.3RC3/Zend/Zend.dsp
+--- a/Zend/Zend.dsp
++++ b/Zend/Zend.dsp
@@ -247,6 +247,14 @@ SOURCE=.\zend_strtod.c
# End Source File
# Begin Source File
@@ -41,10 +37,8 @@ Index: php-5.3.3RC3/Zend/Zend.dsp
SOURCE=.\zend_ts_hash.c
# End Source File
# Begin Source File
-Index: php-5.3.3RC3/Zend/ZendTS.dsp
-===================================================================
---- php-5.3.3RC3.orig/Zend/ZendTS.dsp
-+++ php-5.3.3RC3/Zend/ZendTS.dsp
+--- a/Zend/ZendTS.dsp
++++ b/Zend/ZendTS.dsp
@@ -277,6 +277,14 @@ SOURCE=.\zend_strtod.c
# End Source File
# Begin Source File
@@ -60,10 +54,8 @@ Index: php-5.3.3RC3/Zend/ZendTS.dsp
SOURCE=.\zend_ts_hash.c
# End Source File
# Begin Source File
-Index: php-5.3.3RC3/Zend/zend.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend.c
-+++ php-5.3.3RC3/Zend/zend.c
+--- a/Zend/zend.c
++++ b/Zend/zend.c
@@ -60,6 +60,10 @@ int (*zend_vspprintf)(char **pbuf, size_
ZEND_API char *(*zend_getenv)(char *name, size_t name_len TSRMLS_DC);
ZEND_API char *(*zend_resolve_path)(const char *filename, int filename_len TSRMLS_DC);
@@ -150,10 +142,8 @@ Index: php-5.3.3RC3/Zend/zend.c
ZEND_INI_BEGIN()
ZEND_INI_ENTRY("error_reporting", NULL, ZEND_INI_ALL, OnUpdateErrorReporting)
STD_ZEND_INI_BOOLEAN("zend.enable_gc", "1", ZEND_INI_ALL, OnUpdateGCEnabled, gc_enabled, zend_gc_globals, gc_globals)
-Index: php-5.3.3RC3/Zend/zend.h
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend.h
-+++ php-5.3.3RC3/Zend/zend.h
+--- a/Zend/zend.h
++++ b/Zend/zend.h
@@ -627,6 +627,9 @@ extern ZEND_API int (*zend_stream_open_f
extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
extern ZEND_API char *(*zend_getenv)(char *name, size_t name_len TSRMLS_DC);
@@ -181,10 +171,8 @@ Index: php-5.3.3RC3/Zend/zend.h
#endif /* ZEND_H */
/*
-Index: php-5.3.3RC3/Zend/zend_alloc.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_alloc.c
-+++ php-5.3.3RC3/Zend/zend_alloc.c
+--- a/Zend/zend_alloc.c
++++ b/Zend/zend_alloc.c
@@ -32,6 +32,10 @@
# include <unistd.h>
#endif
@@ -937,7 +925,7 @@ Index: php-5.3.3RC3/Zend/zend_alloc.c
return p;
} else if (ZEND_MM_IS_FIRST_BLOCK(mm_block) &&
ZEND_MM_IS_GUARD_BLOCK(ZEND_MM_BLOCK_AT(next_block, ZEND_MM_FREE_BLOCK_SIZE(next_block)))) {
-@@ -2265,38 +2464,74 @@ out_of_memory:
+@@ -2265,38 +2464,90 @@ out_of_memory:
}
HANDLE_UNBLOCK_INTERRUPTIONS();
@@ -1013,18 +1001,6 @@ Index: php-5.3.3RC3/Zend/zend_alloc.c
+ return _zend_mm_block_size_canary((zend_mm_heap_canary *)heap, p ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
+ }
+
- if (!ZEND_MM_VALID_PTR(p)) {
- return 0;
- }
-@@ -2308,6 +2543,24 @@ ZEND_API size_t _zend_mm_block_size(zend
- return ZEND_MM_BLOCK_SIZE(mm_block);
- #endif
- }
-+#else
-+ZEND_API size_t _zend_mm_block_size_canary(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
-+{
-+ zend_mm_block *mm_block;
-+
+ if (!ZEND_MM_VALID_PTR(p)) {
+ return 0;
+ }
@@ -1036,11 +1012,23 @@ Index: php-5.3.3RC3/Zend/zend_alloc.c
+ return ZEND_MM_BLOCK_SIZE(mm_block);
+#endif
+}
++#else
++ZEND_API size_t _zend_mm_block_size_canary(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
++{
++ zend_mm_block *mm_block;
+
-+#endif
+ if (!ZEND_MM_VALID_PTR(p)) {
+ return 0;
+ }
+@@ -2309,6 +2560,8 @@ ZEND_API size_t _zend_mm_block_size(zend
+ #endif
+ }
++#endif
++
/**********************/
/* Allocation Manager */
+ /**********************/
@@ -2325,6 +2578,7 @@ static int alloc_globals_id;
static zend_alloc_globals alloc_globals;
#endif
@@ -1142,10 +1130,8 @@ Index: php-5.3.3RC3/Zend/zend_alloc.c
/*
* Local variables:
-Index: php-5.3.3RC3/Zend/zend_alloc.h
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_alloc.h
-+++ php-5.3.3RC3/Zend/zend_alloc.h
+--- a/Zend/zend_alloc.h
++++ b/Zend/zend_alloc.h
@@ -203,6 +203,8 @@ END_EXTERN_C()
/* Heap functions */
@@ -1155,10 +1141,8 @@ Index: php-5.3.3RC3/Zend/zend_alloc.h
ZEND_API zend_mm_heap *zend_mm_startup(void);
ZEND_API void zend_mm_shutdown(zend_mm_heap *heap, int full_shutdown, int silent TSRMLS_DC);
-Index: php-5.3.3RC3/Zend/zend_alloc_canary.c
-===================================================================
--- /dev/null
-+++ php-5.3.3RC3/Zend/zend_alloc_canary.c
++++ b/Zend/zend_alloc_canary.c
@@ -0,0 +1,2502 @@
+/*
+ +----------------------------------------------------------------------+
@@ -3662,10 +3646,8 @@ Index: php-5.3.3RC3/Zend/zend_alloc_canary.c
+ * End:
+ */
+
-Index: php-5.3.3RC3/Zend/zend_canary.c
-===================================================================
--- /dev/null
-+++ php-5.3.3RC3/Zend/zend_canary.c
++++ b/Zend/zend_canary.c
@@ -0,0 +1,66 @@
+/*
+ +----------------------------------------------------------------------+
@@ -3733,10 +3715,8 @@ Index: php-5.3.3RC3/Zend/zend_canary.c
+ * vim600: sw=4 ts=4 fdm=marker
+ * vim<600: sw=4 ts=4
+ */
-Index: php-5.3.3RC3/Zend/zend_compile.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_compile.c
-+++ php-5.3.3RC3/Zend/zend_compile.c
+--- a/Zend/zend_compile.c
++++ b/Zend/zend_compile.c
@@ -73,6 +73,11 @@ static void zend_destroy_property_info_i
}
/* }}} */
@@ -3749,10 +3729,8 @@ Index: php-5.3.3RC3/Zend/zend_compile.c
static void build_runtime_defined_function_key(zval *result, const char *name, int name_length TSRMLS_DC) /* {{{ */
{
char char_pos_buf[32];
-Index: php-5.3.3RC3/Zend/zend_compile.h
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_compile.h
-+++ php-5.3.3RC3/Zend/zend_compile.h
+--- a/Zend/zend_compile.h
++++ b/Zend/zend_compile.h
@@ -606,6 +606,11 @@ ZEND_API zend_bool zend_is_auto_global(c
ZEND_API int zend_auto_global_disable_jit(const char *varname, zend_uint varname_length TSRMLS_DC);
ZEND_API size_t zend_dirname(char *path, size_t len);
@@ -3765,10 +3743,8 @@ Index: php-5.3.3RC3/Zend/zend_compile.h
int zendlex(znode *zendlval TSRMLS_DC);
/* BEGIN: OPCODES */
-Index: php-5.3.3RC3/Zend/zend_constants.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_constants.c
-+++ php-5.3.3RC3/Zend/zend_constants.c
+--- a/Zend/zend_constants.c
++++ b/Zend/zend_constants.c
@@ -113,6 +113,76 @@ void zend_register_standard_constants(TS
REGISTER_MAIN_LONG_CONSTANT("E_ALL", E_ALL, CONST_PERSISTENT | CONST_CS);
@@ -3846,10 +3822,8 @@ Index: php-5.3.3RC3/Zend/zend_constants.c
/* true/false constants */
{
zend_constant c;
-Index: php-5.3.3RC3/Zend/zend_errors.h
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_errors.h
-+++ php-5.3.3RC3/Zend/zend_errors.h
+--- a/Zend/zend_errors.h
++++ b/Zend/zend_errors.h
@@ -41,6 +41,20 @@
#define E_ALL (E_ERROR | E_WARNING | E_PARSE | E_NOTICE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_RECOVERABLE_ERROR | E_DEPRECATED | E_USER_DEPRECATED)
#define E_CORE (E_CORE_ERROR | E_CORE_WARNING)
@@ -3871,10 +3845,8 @@ Index: php-5.3.3RC3/Zend/zend_errors.h
#endif /* ZEND_ERRORS_H */
/*
-Index: php-5.3.3RC3/Zend/zend_hash.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_hash.c
-+++ php-5.3.3RC3/Zend/zend_hash.c
+--- a/Zend/zend_hash.c
++++ b/Zend/zend_hash.c
@@ -20,6 +20,7 @@
/* $Id: zend_hash.c 298914 2010-05-03 16:36:04Z felipe $ */
@@ -4147,10 +4119,8 @@ Index: php-5.3.3RC3/Zend/zend_hash.c
if (ht->pDestructor) {
ht->pDestructor(p->pData);
}
-Index: php-5.3.3RC3/Zend/zend_llist.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_llist.c
-+++ php-5.3.3RC3/Zend/zend_llist.c
+--- a/Zend/zend_llist.c
++++ b/Zend/zend_llist.c
@@ -23,6 +23,194 @@
#include "zend_llist.h"
#include "zend_qsort.h"
@@ -4378,10 +4348,8 @@ Index: php-5.3.3RC3/Zend/zend_llist.c
if ((old_tail = l->tail)) {
if (old_tail->prev) {
old_tail->prev->next = NULL;
-Index: php-5.3.3RC3/Zend/zend_operators.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_operators.c
-+++ php-5.3.3RC3/Zend/zend_operators.c
+--- a/Zend/zend_operators.c
++++ b/Zend/zend_operators.c
@@ -153,9 +153,14 @@ ZEND_API void convert_scalar_to_number(z
case IS_STRING:
{
@@ -4469,10 +4437,8 @@ Index: php-5.3.3RC3/Zend/zend_operators.c
switch (type) {
case IS_ARRAY:
ALLOC_HASHTABLE(Z_ARRVAL_P(op));
-Index: php-5.3.3RC3/Zend/zend_variables.c
-===================================================================
---- php-5.3.3RC3.orig/Zend/zend_variables.c
-+++ php-5.3.3RC3/Zend/zend_variables.c
+--- a/Zend/zend_variables.c
++++ b/Zend/zend_variables.c
@@ -34,6 +34,9 @@ ZEND_API void _zval_dtor_func(zval *zval
case IS_CONSTANT:
CHECK_ZVAL_STRING_REL(zvalue);
@@ -4493,10 +4459,8 @@ Index: php-5.3.3RC3/Zend/zend_variables.c
break;
case IS_ARRAY:
case IS_CONSTANT_ARRAY:
-Index: php-5.3.3RC3/configure.in
-===================================================================
---- php-5.3.3RC3.orig/configure.in
-+++ php-5.3.3RC3/configure.in
+--- a/configure.in
++++ b/configure.in
@@ -289,6 +289,7 @@ sinclude(Zend/Zend.m4)
sinclude(TSRM/threads.m4)
sinclude(TSRM/tsrm.m4)
@@ -4523,10 +4487,8 @@ Index: php-5.3.3RC3/configure.in
if test -r "$abs_srcdir/Zend/zend_objects.c"; then
PHP_ADD_SOURCES(Zend, zend_objects.c zend_object_handlers.c zend_objects_API.c zend_default_classes.c)
-Index: php-5.3.3RC3/ext/standard/dl.c
-===================================================================
---- php-5.3.3RC3.orig/ext/standard/dl.c
-+++ php-5.3.3RC3/ext/standard/dl.c
+--- a/ext/standard/dl.c
++++ b/ext/standard/dl.c
@@ -249,6 +249,23 @@ PHPAPI int php_load_extension(char *file
return FAILURE;
}
@@ -4551,10 +4513,8 @@ Index: php-5.3.3RC3/ext/standard/dl.c
return SUCCESS;
}
/* }}} */
-Index: php-5.3.3RC3/ext/standard/info.c
-===================================================================
---- php-5.3.3RC3.orig/ext/standard/info.c
-+++ php-5.3.3RC3/ext/standard/info.c
+--- a/ext/standard/info.c
++++ b/ext/standard/info.c
@@ -878,6 +878,33 @@ PHPAPI void php_print_info(int flag TSRM
php_info_print_table_end();
@@ -4589,10 +4549,8 @@ Index: php-5.3.3RC3/ext/standard/info.c
/* Zend Engine */
php_info_print_box_start(0);
if (expose_php && !sapi_module.phpinfo_as_text) {
-Index: php-5.3.3RC3/ext/standard/syslog.c
-===================================================================
---- php-5.3.3RC3.orig/ext/standard/syslog.c
-+++ php-5.3.3RC3/ext/standard/syslog.c
+--- a/ext/standard/syslog.c
++++ b/ext/standard/syslog.c
@@ -42,6 +42,7 @@ static void start_syslog(TSRMLS_D);
*/
PHP_MINIT_FUNCTION(syslog)
@@ -4609,10 +4567,8 @@ Index: php-5.3.3RC3/ext/standard/syslog.c
BG(syslog_device)=NULL;
return SUCCESS;
-Index: php-5.3.3RC3/main/fopen_wrappers.c
-===================================================================
---- php-5.3.3RC3.orig/main/fopen_wrappers.c
-+++ php-5.3.3RC3/main/fopen_wrappers.c
+--- a/main/fopen_wrappers.c
++++ b/main/fopen_wrappers.c
@@ -85,13 +85,8 @@ or a tightening during activation/runtim
PHPAPI ZEND_INI_MH(OnUpdateBaseDir)
{
@@ -4628,10 +4584,8 @@ Index: php-5.3.3RC3/main/fopen_wrappers.c
if (stage == PHP_INI_STAGE_STARTUP || stage == PHP_INI_STAGE_SHUTDOWN || stage == PHP_INI_STAGE_ACTIVATE || stage == PHP_INI_STAGE_DEACTIVATE) {
/* We're in a PHP_INI_SYSTEM context, no restrictions */
-Index: php-5.3.3RC3/main/main.c
-===================================================================
---- php-5.3.3RC3.orig/main/main.c
-+++ php-5.3.3RC3/main/main.c
+--- a/main/main.c
++++ b/main/main.c
@@ -90,6 +90,9 @@
#include "SAPI.h"
@@ -4686,10 +4640,8 @@ Index: php-5.3.3RC3/main/main.c
REGISTER_MAIN_LONG_CONSTANT("PHP_INT_MAX", LONG_MAX, CONST_PERSISTENT | CONST_CS);
REGISTER_MAIN_LONG_CONSTANT("PHP_INT_SIZE", sizeof(long), CONST_PERSISTENT | CONST_CS);
-Index: php-5.3.3RC3/main/php.h
-===================================================================
---- php-5.3.3RC3.orig/main/php.h
-+++ php-5.3.3RC3/main/php.h
+--- a/main/php.h
++++ b/main/php.h
@@ -457,6 +457,10 @@ END_EXTERN_C()
#endif
#endif /* !XtOffsetOf */
@@ -4701,10 +4653,8 @@ Index: php-5.3.3RC3/main/php.h
#endif
/*
-Index: php-5.3.3RC3/main/php_logos.c
-===================================================================
---- php-5.3.3RC3.orig/main/php_logos.c
-+++ php-5.3.3RC3/main/php_logos.c
+--- a/main/php_logos.c
++++ b/main/php_logos.c
@@ -50,6 +50,10 @@ PHPAPI int php_unregister_info_logo(char
return zend_hash_del(&phpinfo_logo_hash, logo_string, strlen(logo_string));
}
@@ -4727,10 +4677,8 @@ Index: php-5.3.3RC3/main/php_logos.c
return SUCCESS;
}
-Index: php-5.3.3RC3/main/snprintf.c
-===================================================================
---- php-5.3.3RC3.orig/main/snprintf.c
-+++ php-5.3.3RC3/main/snprintf.c
+--- a/main/snprintf.c
++++ b/main/snprintf.c
@@ -1091,7 +1091,11 @@ static int format_converter(register buf
@@ -4743,10 +4691,8 @@ Index: php-5.3.3RC3/main/snprintf.c
goto skip_output;
/*
-Index: php-5.3.3RC3/main/spprintf.c
-===================================================================
---- php-5.3.3RC3.orig/main/spprintf.c
-+++ php-5.3.3RC3/main/spprintf.c
+--- a/main/spprintf.c
++++ b/main/spprintf.c
@@ -698,7 +698,11 @@ static void xbuf_format_converter(smart_
@@ -4759,10 +4705,8 @@ Index: php-5.3.3RC3/main/spprintf.c
goto skip_output;
/*
-Index: php-5.3.3RC3/main/suhosin_globals.h
-===================================================================
--- /dev/null
-+++ php-5.3.3RC3/main/suhosin_globals.h
++++ b/main/suhosin_globals.h
@@ -0,0 +1,61 @@
+/*
+ +----------------------------------------------------------------------+
@@ -4825,10 +4769,8 @@ Index: php-5.3.3RC3/main/suhosin_globals.h
+ * c-basic-offset: 4
+ * End:
+ */
-Index: php-5.3.3RC3/main/suhosin_logo.h
-===================================================================
--- /dev/null
-+++ php-5.3.3RC3/main/suhosin_logo.h
++++ b/main/suhosin_logo.h
@@ -0,0 +1,178 @@
+static unsigned char suhosin_logo[] =
+ "\xff\xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x01\x00\x48"
@@ -5008,10 +4950,8 @@ Index: php-5.3.3RC3/main/suhosin_logo.h
+ "\x21\xb6\x99\x69\xbc\x25\xb6\xdb\x6d\x18\xc2\x10\xda\x12\x94\xa1"
+ "\x38\xc2\x53\x8c\x63\x18\xc7\x9d\xbe\x7f\xff\xd9"
+ ;
-Index: php-5.3.3RC3/main/suhosin_patch.c
-===================================================================
--- /dev/null
-+++ php-5.3.3RC3/main/suhosin_patch.c
++++ b/main/suhosin_patch.c
@@ -0,0 +1,470 @@
+/*
+ +----------------------------------------------------------------------+
@@ -5483,10 +5423,8 @@ Index: php-5.3.3RC3/main/suhosin_patch.c
+ * vim600: sw=4 ts=4 fdm=marker
+ * vim<600: sw=4 ts=4
+ */
-Index: php-5.3.3RC3/main/suhosin_patch.h
-===================================================================
--- /dev/null
-+++ php-5.3.3RC3/main/suhosin_patch.h
++++ b/main/suhosin_patch.h
@@ -0,0 +1,59 @@
+/*
+ +----------------------------------------------------------------------+
@@ -5547,10 +5485,8 @@ Index: php-5.3.3RC3/main/suhosin_patch.h
+ * c-basic-offset: 4
+ * End:
+ */
-Index: php-5.3.3RC3/main/suhosin_patch.m4
-===================================================================
--- /dev/null
-+++ php-5.3.3RC3/main/suhosin_patch.m4
++++ b/main/suhosin_patch.m4
@@ -0,0 +1,8 @@
+dnl
+dnl $Id: suhosin_patch.m4,v 1.1 2004/11/14 13:24:24 ionic Exp $
@@ -5560,10 +5496,8 @@ Index: php-5.3.3RC3/main/suhosin_patch.m4
+
+AC_DEFINE(SUHOSIN_PATCH, 1, [Suhosin Patch])
+
-Index: php-5.3.3RC3/sapi/apache/mod_php5.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/apache/mod_php5.c
-+++ php-5.3.3RC3/sapi/apache/mod_php5.c
+--- a/sapi/apache/mod_php5.c
++++ b/sapi/apache/mod_php5.c
@@ -969,7 +969,11 @@ static void php_init_handler(server_rec
{
TSRMLS_FETCH();
@@ -5576,10 +5510,8 @@ Index: php-5.3.3RC3/sapi/apache/mod_php5.c
}
}
#endif
-Index: php-5.3.3RC3/sapi/apache2filter/sapi_apache2.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/apache2filter/sapi_apache2.c
-+++ php-5.3.3RC3/sapi/apache2filter/sapi_apache2.c
+--- a/sapi/apache2filter/sapi_apache2.c
++++ b/sapi/apache2filter/sapi_apache2.c
@@ -583,7 +583,11 @@ static void php_apache_add_version(apr_p
{
TSRMLS_FETCH();
@@ -5592,10 +5524,8 @@ Index: php-5.3.3RC3/sapi/apache2filter/sapi_apache2.c
}
}
-Index: php-5.3.3RC3/sapi/apache2handler/sapi_apache2.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/apache2handler/sapi_apache2.c
-+++ php-5.3.3RC3/sapi/apache2handler/sapi_apache2.c
+--- a/sapi/apache2handler/sapi_apache2.c
++++ b/sapi/apache2handler/sapi_apache2.c
@@ -407,7 +407,11 @@ static void php_apache_add_version(apr_p
{
TSRMLS_FETCH();
@@ -5608,10 +5538,8 @@ Index: php-5.3.3RC3/sapi/apache2handler/sapi_apache2.c
}
}
-Index: php-5.3.3RC3/sapi/apache_hooks/mod_php5.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/apache_hooks/mod_php5.c
-+++ php-5.3.3RC3/sapi/apache_hooks/mod_php5.c
+--- a/sapi/apache_hooks/mod_php5.c
++++ b/sapi/apache_hooks/mod_php5.c
@@ -1256,7 +1256,11 @@ static void php_init_handler(server_rec
{
TSRMLS_FETCH();
@@ -5624,10 +5552,8 @@ Index: php-5.3.3RC3/sapi/apache_hooks/mod_php5.c
}
}
#endif
-Index: php-5.3.3RC3/sapi/cgi/cgi_main.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/cgi/cgi_main.c
-+++ php-5.3.3RC3/sapi/cgi/cgi_main.c
+--- a/sapi/cgi/cgi_main.c
++++ b/sapi/cgi/cgi_main.c
@@ -1929,10 +1929,18 @@ consult the installation file that came
SG(headers_sent) = 1;
SG(request_info).no_headers = 1;
@@ -5649,10 +5575,8 @@ Index: php-5.3.3RC3/sapi/cgi/cgi_main.c
#endif
php_request_shutdown((void *) 0);
fcgi_shutdown();
-Index: php-5.3.3RC3/sapi/cli/php_cli.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/cli/php_cli.c
-+++ php-5.3.3RC3/sapi/cli/php_cli.c
+--- a/sapi/cli/php_cli.c
++++ b/sapi/cli/php_cli.c
@@ -831,7 +831,11 @@ int main(int argc, char *argv[])
}
@@ -5666,10 +5590,8 @@ Index: php-5.3.3RC3/sapi/cli/php_cli.c
PHP_VERSION, sapi_module.name, __DATE__, __TIME__,
#if ZEND_DEBUG && defined(HAVE_GCOV)
"(DEBUG GCOV)",
-Index: php-5.3.3RC3/sapi/litespeed/lsapi_main.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/litespeed/lsapi_main.c
-+++ php-5.3.3RC3/sapi/litespeed/lsapi_main.c
+--- a/sapi/litespeed/lsapi_main.c
++++ b/sapi/litespeed/lsapi_main.c
@@ -545,11 +545,19 @@ static int cli_main( int argc, char * ar
break;
case 'v':
@@ -5690,10 +5612,8 @@ Index: php-5.3.3RC3/sapi/litespeed/lsapi_main.c
#ifdef PHP_OUTPUT_NEWAPI
php_output_end_all(TSRMLS_C);
#else
-Index: php-5.3.3RC3/sapi/milter/php_milter.c
-===================================================================
---- php-5.3.3RC3.orig/sapi/milter/php_milter.c
-+++ php-5.3.3RC3/sapi/milter/php_milter.c
+--- a/sapi/milter/php_milter.c
++++ b/sapi/milter/php_milter.c
@@ -1111,7 +1111,11 @@ int main(int argc, char *argv[])
}
SG(headers_sent) = 1;
@@ -5707,10 +5627,8 @@ Index: php-5.3.3RC3/sapi/milter/php_milter.c
php_end_ob_buffers(1 TSRMLS_CC);
exit(1);
break;
-Index: php-5.3.3RC3/win32/build/config.w32
-===================================================================
---- php-5.3.3RC3.orig/win32/build/config.w32
-+++ php-5.3.3RC3/win32/build/config.w32
+--- a/win32/build/config.w32
++++ b/win32/build/config.w32
@@ -325,7 +325,7 @@ ADD_SOURCES("Zend", "zend_language_parse
zend_stream.c zend_iterators.c zend_interfaces.c zend_objects.c \
zend_object_handlers.c zend_objects_API.c \
@@ -5728,10 +5646,8 @@ Index: php-5.3.3RC3/win32/build/config.w32
/* For snapshot builders, where can we find the additional
* files that make up the snapshot template? */
-Index: php-5.3.3RC3/win32/build/config.w32.h.in
-===================================================================
---- php-5.3.3RC3.orig/win32/build/config.w32.h.in
-+++ php-5.3.3RC3/win32/build/config.w32.h.in
+--- a/win32/build/config.w32.h.in
++++ b/win32/build/config.w32.h.in
@@ -151,6 +151,9 @@
/* Win32 supports strcoll */
#define HAVE_STRCOLL 1
--
1.7.1
More information about the Pkg-php-commits
mailing list