pajoye                                   Fri, 10 Sep 2010 19:27:39 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=303264

Log:
- use OPENBASEDIR_CHECKPATH macro (does safe mode too in 5.3) so trunk and 
branches are the same

Changed paths:
    U   php/php-src/trunk/ext/standard/link_win32.c

Modified: php/php-src/trunk/ext/standard/link_win32.c
===================================================================
--- php/php-src/trunk/ext/standard/link_win32.c 2010-09-10 19:25:56 UTC (rev 
303263)
+++ php/php-src/trunk/ext/standard/link_win32.c 2010-09-10 19:27:39 UTC (rev 
303264)
@@ -157,11 +157,11 @@
                RETURN_FALSE;
        }

-       if (php_check_open_basedir(dest_p TSRMLS_CC)) {
+       if (OPENBASEDIR_CHECKPATH(dest_p)) {
                RETURN_FALSE;
        }

-       if (php_check_open_basedir(source_p TSRMLS_CC)) {
+       if (OPENBASEDIR_CHECKPATH(source_p)) {
                RETURN_FALSE;
        }

@@ -212,11 +212,11 @@
                RETURN_FALSE;
        }

-       if (php_check_open_basedir(source_p TSRMLS_CC)) {
+       if (OPENBASEDIR_CHECKPATH(source_p)) {
                RETURN_FALSE;
        }

-       if (php_check_open_basedir(dest_p TSRMLS_CC)) {
+       if (OPENBASEDIR_CHECKPATH(dest_p)) {
                RETURN_FALSE;
        }


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to