]> granicus.if.org Git - php/commitdiff
Fixed bug #41063 (chdir doesn't like root paths).
authorDmitry Stogov <dmitry@php.net>
Thu, 12 Apr 2007 15:28:58 +0000 (15:28 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 12 Apr 2007 15:28:58 +0000 (15:28 +0000)
NEWS
TSRM/tsrm_virtual_cwd.c

diff --git a/NEWS b/NEWS
index 242ebb91ee0eed0baea48622e65bcc07b484eeed..287a3b2d07cc8fed2ffaa658cd4b4dcd9a9209c8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,11 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? Apr 2007, PHP 5.2.2RC2
+- Fixed bug #41063 (chdir doesn't like root paths). (Dmitry)
 - Fixed bug #40861 (strtotime() doesn't handle double negative relative time
   units correctly). (Derick)
 
+
 10 Apr 2007, PHP 5.2.2RC1
 - Improved bundled GD
   . Sync to 2.0.35
index b00d83187ffd09ca9c1326c65a4f14bc30c90b0a..ccb7ea553cd57f2434d89fc5fd90d7cf61559a3e 100644 (file)
@@ -568,6 +568,7 @@ no_realpath:
                CWD_STATE_COPY(&old_state, state);
 
 #ifdef TSRM_WIN32
+               ret = 0;
                is_unc = 0;
                if (path_length >= 2 && path[1] == ':') {                       
                        state->cwd = (char *) realloc(state->cwd, 2 + 1);