wez             Thu Feb 13 12:37:17 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/main  php_open_temporary_file.c 
  Log:
  MFH: Another IS_SLASH fix.
  
  
Index: php4/main/php_open_temporary_file.c
diff -u php4/main/php_open_temporary_file.c:1.18.2.4 
php4/main/php_open_temporary_file.c:1.18.2.5
--- php4/main/php_open_temporary_file.c:1.18.2.4        Tue Dec 31 11:26:19 2002
+++ php4/main/php_open_temporary_file.c Thu Feb 13 12:37:17 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_open_temporary_file.c,v 1.18.2.4 2002/12/31 16:26:19 sebastian Exp $ */
+/* $Id: php_open_temporary_file.c,v 1.18.2.5 2003/02/13 17:37:17 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

Reply via email to