eyalt                                    Tue, 14 Dec 2010 13:07:51 +0000

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

Log:
added value for PHP_MAXPATHLEN for os which is not windows/linux

Changed paths:
    U   php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/bug48204.phpt

Modified: php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/bug48204.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/bug48204.phpt      
2010-12-14 12:12:26 UTC (rev 306363)
+++ php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/bug48204.phpt      
2010-12-14 13:07:51 UTC (rev 306364)
@@ -10,6 +10,8 @@
                define('PHP_MAXPATHLEN', 260);
        } else if (stristr(PHP_OS, 'linux')) {
                define('PHP_MAXPATHLEN', 4096);
+       } else {
+               define('PHP_MAXPATHLEN', 1024); // Darwin, AIX for instance
        }
 }
 $path = str_repeat('a', PHP_MAXPATHLEN + 1);

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

Reply via email to