cvs: TSRM / tsrm_virtual_cwd.c
| From: | Stefan Esser | Date: | Sat, 15 Jan 2005 18:19:49 +0000 |
| Subject: | cvs: TSRM / tsrm_virtual_cwd.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3298@lists.php.net to get a copy of this message | ||
sesser Sat Jan 15 13:19:49 2005 EDT
Modified files:
/TSRM tsrm_virtual_cwd.c
Log:
finally use what we calculated
http://cvs.php.net/diff.php/TSRM/tsrm_virtual_cwd.c?r1=1.69&r2=1.70&ty=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.69 TSRM/tsrm_virtual_cwd.c:1.70
--- TSRM/tsrm_virtual_cwd.c:1.69 Sat Jan 8 08:53:45 2005
+++ TSRM/tsrm_virtual_cwd.c Sat Jan 15 13:19:49 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.69 2005/01/08 13:53:45 dmitry Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.70 2005/01/15 18:19:49 sesser Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -986,7 +986,7 @@
dir_length = CWDG(cwd).cwd_length;
dir = CWDG(cwd).cwd;
- ptr = command_line = (char *) malloc(command_length + sizeof("cd '' ; ") +
dir_length +1+1);
+ ptr = command_line = (char *) malloc(command_length + sizeof("cd '' ; ") +
dir_length + extra+1+1);
if (!command_line) {
return NULL;
}