cvs: php4 /main php_open_temporary_file.c

From: Date: Thu, 13 Feb 2003 17:36:36 +0000
Subject: cvs: php4 /main php_open_temporary_file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18788@lists.php.net to get a copy of this message
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 = "/";

« previous php.cvs (#18788) next »