pajoye Fri Jan 16 10:26:32 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/main main.c
Log:
- MFH:
- return SUCCESS on success
- check return value
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.640.2.23.2.57.2.43&r2=1.640.2.23.2.57.2.44&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.23.2.57.2.43
php-src/main/main.c:1.640.2.23.2.57.2.44
--- php-src/main/main.c:1.640.2.23.2.57.2.43 Fri Jan 16 00:57:05 2009
+++ php-src/main/main.c Fri Jan 16 10:26:32 2009
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.640.2.23.2.57.2.43 2009/01/16 00:57:05 pajoye Exp $ */
+/* $Id: main.c,v 1.640.2.23.2.57.2.44 2009/01/16 10:26:32 pajoye Exp $ */
/* {{{ includes
*/
@@ -123,6 +123,7 @@
}
}
}
+ return SUCCESS;
}
#endif
@@ -1967,7 +1968,10 @@
#ifdef PHP_WIN32
/* Disable incompatible functions for the running platform */
- php_win32_disable_functions();
+ if (php_win32_disable_functions() == FAILURE) {
+ php_printf("Unable to disable unsupported functions\n");
+ return FAILURE;
+ }
#endif
#ifdef ZTS
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php