CVS update: php3/functions
| From: | rasmus | Date: | Wed, 11 Nov 1998 00:14:20 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2321@lists.php.net to get a copy of this message | ||
Date: Tuesday November 10, 1998 @ 19:14
Author: rasmus
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv1393/functions
Modified Files:
link.c
Log Message:
Fix for #910
Index: php3/functions/link.c
diff -c php3/functions/link.c:1.31 php3/functions/link.c:1.32
*** php3/functions/link.c:1.31 Fri Nov 6 18:40:55 1998
--- php3/functions/link.c Tue Nov 10 19:14:19 1998
***************
*** 28,34 ****
+----------------------------------------------------------------------+
*/
! /* $Id: link.c,v 1.31 1998/11/06 23:40:55 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 28,34 ----
+----------------------------------------------------------------------+
*/
! /* $Id: link.c,v 1.32 1998/11/11 00:14:19 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 184,189 ****
--- 184,194 ----
if (ret == -1) {
php3_error(E_WARNING, "Unlink failed (%s)", strerror(errno));
RETURN_FALSE;
+ }
+ /* Clear stat cache */
+ if (GLOBAL(CurrentStatFile)) {
+ efree(GLOBAL(CurrentStatFile));
+ GLOBAL(CurrentStatFile) = NULL;
}
RETURN_TRUE;
} /* }}} */
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net