Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 300303 Details for
Bug 400889
dev-php/suhosin-0.9.33 with dev-lang/php[threads] - work/php5.3/post_handler.c:170:42: error: 'tsrm_ls' undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from suhosin git
suhosin-0.9.33-threads.patch (text/plain), 3.82 KB, created by
Klemen Mihevc
on 2012-01-29 18:28:30 UTC
(
hide
)
Description:
Patch from suhosin git
Filename:
MIME Type:
Creator:
Klemen Mihevc
Created:
2012-01-29 18:28:30 UTC
Size:
3.82 KB
patch
obsolete
>Common subdirectories: suhosin-0.9.33/mbregex and suhosin-0.9.33.new/mbregex >diff -uN suhosin-0.9.33/php_suhosin.h suhosin-0.9.33.new/php_suhosin.h >--- suhosin-0.9.33/php_suhosin.h Thu Jan 19 15:49:18 2012 >+++ suhosin-0.9.33.new/php_suhosin.h Mon Jan 23 00:09:41 2012 >@@ -308,7 +308,7 @@ > char *suhosin_cookie_decryptor(TSRMLS_D); > char *suhosin_getenv(char *name, size_t name_len TSRMLS_DC); > void suhosin_hook_post_handlers(TSRMLS_D); >-void suhosin_unhook_post_handlers(); >+void suhosin_unhook_post_handlers(TSRMLS_D); > void suhosin_hook_register_server_variables(); > void suhosin_hook_header_handler(); > void suhosin_unhook_header_handler(); >diff -uN suhosin-0.9.33/post_handler.c suhosin-0.9.33.new/post_handler.c >--- suhosin-0.9.33/post_handler.c Thu Jan 19 15:49:18 2012 >+++ suhosin-0.9.33.new/post_handler.c Mon Jan 23 00:09:41 2012 >@@ -162,7 +162,7 @@ > ini_entry->on_modify = suhosin_OnUpdate_mbstring_encoding_translation; > } > >-void suhosin_unhook_post_handlers() >+void suhosin_unhook_post_handlers(TSRMLS_D) > { > zend_ini_entry *ini_entry; > >@@ -186,5 +186,3 @@ > * vim600: noet sw=4 ts=4 fdm=marker > * vim<600: noet sw=4 ts=4 > */ >- >- >diff -uN suhosin-0.9.33/session.c suhosin-0.9.33.new/session.c >--- suhosin-0.9.33/session.c Thu Jan 19 15:49:18 2012 >+++ suhosin-0.9.33.new/session.c Mon Jan 23 00:09:41 2012 >@@ -1,19 +1,19 @@ > /* > +----------------------------------------------------------------------+ >- | Suhosin Version 1 | >+ | Suhosin Version 1 | > +----------------------------------------------------------------------+ >- | Copyright (c) 2006-2007 The Hardened-PHP Project | >- | Copyright (c) 2007-2012 SektionEins GmbH | >+ | Copyright (c) 2006-2007 The Hardened-PHP Project | >+ | Copyright (c) 2007-2012 SektionEins GmbH | > +----------------------------------------------------------------------+ >- | This source file is subject to version 3.01 of the PHP license, | >- | that is bundled with this package in the file LICENSE, and is | >- | available through the world-wide-web at the following url: | >- | http://www.php.net/license/3_01.txt | >+ | This source file is subject to version 3.01 of the PHP license, | >+ | that is bundled with this package in the file LICENSE, and is | >+ | available through the world-wide-web at the following url: | >+ | http://www.php.net/license/3_01.txt | > | If you did not receive a copy of the PHP license and are unable to | >- | obtain it through the world-wide-web, please send a note to | >- | license@php.net so we can mail you a copy immediately. | >+ | obtain it through the world-wide-web, please send a note to | >+ | license@php.net so we can mail you a copy immediately. | > +----------------------------------------------------------------------+ >- | Author: Stefan Esser <sesser@sektioneins.de> | >+ | Author: Stefan Esser <sesser@sektioneins.de> | > +----------------------------------------------------------------------+ > */ > /* >diff -uN suhosin-0.9.33/suhosin.c suhosin-0.9.33.new/suhosin.c >--- suhosin-0.9.33/suhosin.c Thu Jan 19 15:49:18 2012 >+++ suhosin-0.9.33.new/suhosin.c Mon Jan 23 00:09:41 2012 >@@ -189,9 +189,12 @@ > > static void suhosin_shutdown(zend_extension *extension) > { >+ TSRMLS_FETCH(); >+ >+ suhosin_unhook_session(TSRMLS_C); > suhosin_unhook_execute(); > suhosin_unhook_header_handler(); >- suhosin_unhook_post_handlers(); >+ suhosin_unhook_post_handlers(TSRMLS_C); > > if (ze != NULL) { > ze->startup = orig_module_startup; >Common subdirectories: suhosin-0.9.33/tests and suhosin-0.9.33.new/tests
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 400889
:
299949
| 300303