cvs: php4 /main php_open_temporary_file.c
| From: | Zeev Suraski | Date: | Mon, 29 Oct 2001 01:18:10 +0000 |
| Subject: | cvs: php4 /main php_open_temporary_file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8013@lists.php.net to get a copy of this message | ||
zeev Sun Oct 28 20:18:10 2001 EDT
Modified files:
/php4/main php_open_temporary_file.c
Log:
Fix pointer mess
Index: php4/main/php_open_temporary_file.c
diff -u php4/main/php_open_temporary_file.c:1.11 php4/main/php_open_temporary_file.c:1.12
--- php4/main/php_open_temporary_file.c:1.11 Sun Sep 9 09:29:28 2001
+++ php4/main/php_open_temporary_file.c Sun Oct 28 20:18:10 2001
@@ -104,7 +104,7 @@
return NULL;
}
- if (*path+strlen(path)-1 == '/') {
+ if (path[strlen(path)-1] == '/') {
trailing_slash = "";
} else {
trailing_slash = "/";