jani Thu Sep 13 07:41:59 2007 UTC
Modified files:
/php-src/ext/standard dl.c
Log:
cs/ws fix
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dl.c?r1=1.115&r2=1.116&diff_format=u
Index: php-src/ext/standard/dl.c
diff -u php-src/ext/standard/dl.c:1.115 php-src/ext/standard/dl.c:1.116
--- php-src/ext/standard/dl.c:1.115 Thu Sep 13 01:16:24 2007
+++ php-src/ext/standard/dl.c Thu Sep 13 07:41:59 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dl.c,v 1.115 2007/09/13 01:16:24 stas Exp $ */
+/* $Id: dl.c,v 1.116 2007/09/13 07:41:59 jani Exp $ */
#include "php.h"
#include "dl.h"
@@ -115,8 +115,8 @@
if (extension_dir && extension_dir[0]){
int extension_dir_len = strlen(extension_dir);
- if(type == MODULE_TEMPORARY) {
- if(strchr(filename, '/') != NULL || strchr(filename,
DEFAULT_SLASH) != NULL) {
+ if (type == MODULE_TEMPORARY) {
+ if (strchr(filename, '/') != NULL || strchr(filename,
DEFAULT_SLASH) != NULL) {
php_error_docref(NULL TSRMLS_CC, E_WARNING,
"Temporary module name should contain only filename");
RETURN_FALSE;
}
@@ -190,8 +190,9 @@
int zend_api;
unsigned char zend_debug, zts;
- if(( ((struct pre_4_1_0_module_entry
*)module_entry)->zend_api > 20000000)
- &&(((struct pre_4_1_0_module_entry
*)module_entry)->zend_api < 20010901)) {
+ if ((((struct pre_4_1_0_module_entry
*)module_entry)->zend_api > 20000000) &&
+ (((struct pre_4_1_0_module_entry
*)module_entry)->zend_api < 20010901)
+ ) {
name = ((struct pre_4_1_0_module_entry
*)module_entry)->name;
zend_api = ((struct pre_4_1_0_module_entry
*)module_entry)->zend_api;
zend_debug = ((struct pre_4_1_0_module_entry
*)module_entry)->zend_debug;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php