cvs: php4 /main php_open_temporary_file.c

From: Date: Fri, 25 Apr 2003 18:11:32 +0000
Subject: cvs: php4 /main php_open_temporary_file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20499@lists.php.net to get a copy of this message
sniper Fri Apr 25 14:11:32 2003 EDT Modified files: /php4/main php_open_temporary_file.c Log: fix compiler warning (unused variable) Index: php4/main/php_open_temporary_file.c diff -u php4/main/php_open_temporary_file.c:1.26 php4/main/php_open_temporary_file.c:1.27 --- php4/main/php_open_temporary_file.c:1.26 Fri Apr 11 07:08:44 2003 +++ php4/main/php_open_temporary_file.c Fri Apr 25 14:11:32 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_open_temporary_file.c,v 1.26 2003/04/11 11:08:44 wez Exp $ */ +/* $Id: php_open_temporary_file.c,v 1.27 2003/04/25 18:11:32 sniper Exp $ */ #include "php.h" @@ -105,11 +105,13 @@ char *trailing_slash; char *opened_path; int fd = -1; +#ifndef HAVE_MKSTEMP int open_flags = O_CREAT | O_TRUNC | O_RDWR #ifdef PHP_WIN32 | _O_BINARY #endif ; +#endif #ifdef NETWARE char *file_path = NULL; #endif

« previous php.cvs (#20499) next »