wez Thu Feb 13 12:36:36 2003 EDT
Modified files:
/php4/main php_open_temporary_file.c
Log:
Another IS_SLASH fix.
Index: php4/main/php_open_temporary_file.c
diff -u php4/main/php_open_temporary_file.c:1.21
php4/main/php_open_temporary_file.c:1.22
--- php4/main/php_open_temporary_file.c:1.21 Tue Dec 31 10:58:53 2002
+++ php4/main/php_open_temporary_file.c Thu Feb 13 12:36:35 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_open_temporary_file.c,v 1.21 2002/12/31 15:58:53 sebastian Exp $ */
+/* $Id: php_open_temporary_file.c,v 1.22 2003/02/13 17:36:35 wez Exp $ */
#include "php.h"
@@ -122,7 +122,7 @@
return NULL;
}
- if (path[strlen(path)-1] == '/') {
+ if (IS_SLASH(path[strlen(path)-1])) {
trailing_slash = "";
} else {
trailing_slash = "/";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php