svn: /php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/ bug48204.phpt
| From: | Eyal Teutsch | Date: | Tue, 14 Dec 2010 13:07:51 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_2/ext/xmlwriter/tests/ bug48204.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64133@lists.php.net to get a copy of this message | ||
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);