cvs: php4 /ext/standard flock_compat.c
| From: | Marcus Boerger | Date: | Tue, 12 Nov 2002 09:09:55 +0000 |
| Subject: | cvs: php4 /ext/standard flock_compat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16015@lists.php.net to get a copy of this message | ||
helly Tue Nov 12 04:09:55 2002 EDT
Modified files:
/php4/ext/standard flock_compat.c
Log:
correct the last patch: make flock() a function again when it is missing
#function name should be flock and not php_flock of cause
Index: php4/ext/standard/flock_compat.c
diff -u php4/ext/standard/flock_compat.c:1.20 php4/ext/standard/flock_compat.c:1.21
--- php4/ext/standard/flock_compat.c:1.20 Mon Nov 11 18:40:33 2002
+++ php4/ext/standard/flock_compat.c Tue Nov 12 04:09:55 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: flock_compat.c,v 1.20 2002/11/11 23:40:33 helly Exp $ */
+/* $Id: flock_compat.c,v 1.21 2002/11/12 09:09:55 helly Exp $ */
#include <php.h>
#include <errno.h>
@@ -41,7 +41,7 @@
#endif
#ifndef HAVE_FLOCK
-PHPAPI int php_flock(int fd, int operation)
+PHPAPI int flock(int fd, int operation)
{
return php_flock(fd, operation);
}