cvs: php4 /ext/standard file.c
| From: | Sascha Schumann | Date: | Sat, 13 Oct 2001 23:43:50 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7799@lists.php.net to get a copy of this message | ||
sas Sat Oct 13 19:43:50 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
Either sizeof(struct stat) or sizeof f_stat, but not sizeof stat.
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.187 php4/ext/standard/file.c:1.188
--- php4/ext/standard/file.c:1.187 Sun Oct 7 14:34:44 2001
+++ php4/ext/standard/file.c Sat Oct 13 19:43:49 2001
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.187 2001/10/07 18:34:44 derick Exp $ */
+/* $Id: file.c,v 1.188 2001/10/13 23:43:49 sas Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -1646,7 +1646,7 @@
char *in_addr;
struct stat f_stat;
- memset (&f_stat, 0, sizeof (stat));
+ memset (&f_stat, 0, sizeof (f_stat));
/* check args */
switch (ARG_COUNT(ht)) {