cvs: php4(PHP_4_3) /main php_open_temporary_file.c

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

« previous php.cvs (#18789) next »