iliaa Wed Oct 8 22:58:35 2003 EDT
Modified files:
/php-src/main main.c
Log:
Fixed bug #25746 (Do not bail out when unable to chdir original dir on
systems with broken getcwd()).
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.578 php-src/main/main.c:1.579
--- php-src/main/main.c:1.578 Wed Sep 24 19:20:48 2003
+++ php-src/main/main.c Wed Oct 8 22:58:34 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.578 2003/09/24 23:20:48 iliaa Exp $ */
+/* $Id: main.c,v 1.579 2003/10/09 02:58:34 iliaa Exp $ */
/* {{{ includes
*/
@@ -1576,9 +1576,6 @@
#if HAVE_BROKEN_GETCWD
/* this looks nasty to me */
old_cwd_fd = open(".", 0);
- if (old_cwd_fd == -1) {
- zend_bailout();
- }
#else
VCWD_GETCWD(old_cwd, OLD_CWD_SIZE-1);
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php