cvs: /php4 fopen-wrappers.c
| From: | Andi Gutmans | Date: | Thu, 30 Mar 2000 22:40:00 +0000 |
| Subject: | cvs: /php4 fopen-wrappers.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12916@lists.php.net to get a copy of this message | ||
andi Thu Mar 30 14:40:00 2000 EDT
Modified files:
/php4 fopen-wrappers.c
Log:
- Use PHP_CHDIR()
Index: php4/fopen-wrappers.c
diff -u php4/fopen-wrappers.c:1.47 php4/fopen-wrappers.c:1.48
--- php4/fopen-wrappers.c:1.47 Thu Mar 30 14:38:49 2000
+++ php4/fopen-wrappers.c Thu Mar 30 14:39:29 2000
@@ -16,7 +16,7 @@
| Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: fopen-wrappers.c,v 1.47 2000/03/30 22:38:49 andi Exp $ */
+/* $Id: fopen-wrappers.c,v 1.48 2000/03/30 22:39:29 andi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -298,7 +298,7 @@
temp = estrdup(fn);
php_dirname(temp, strlen(temp));
if (*temp) {
- chdir(temp);
+ PHP_CHDIR(temp);
}
efree(temp);
SG(request_info).path_translated = fn;