pajoye Fri Jan 16 10:26:06 2009 UTC Modified files: /php-src/main main.c Log: - return SUCCESS on success - check return value http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.789&r2=1.790&diff_format=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.789 php-src/main/main.c:1.790 --- php-src/main/main.c:1.789 Fri Jan 16 10:02:50 2009 +++ php-src/main/main.c Fri Jan 16 10:26:06 2009 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.789 2009/01/16 10:02:50 pajoye Exp $ */ +/* $Id: main.c,v 1.790 2009/01/16 10:26:06 pajoye Exp $ */ /* {{{ includes */ @@ -123,6 +123,7 @@ } } } + return SUCCESS; } #endif @@ -2090,7 +2091,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 zend_post_startup(TSRMLS_C);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php