CVS update: php4/ext/standard
| From: | zeev | Date: | Fri, 11 Jun 1999 09:23:00 +0000 |
| Subject: | CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1470@lists.php.net to get a copy of this message | ||
Date: Friday June 11, 1999 @ 5:23
Author: zeev
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv11236/ext/standard
Modified Files:
basic_functions.c file.c
Log Message:
* Fix a buglet in the session module
* Make some renames in the session module - avoid having a function called 'delete'
so that we don't piss any C++ compilers. Also rename the {startup,shutdown}_globals
to {startup,shutdown}_session_globals, so that they're a bit less general names,
and made them static.
* Remove uselss variables
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.32 php4/ext/standard/basic_functions.c:1.33
--- php4/ext/standard/basic_functions.c:1.32 Thu Jun 10 10:41:38 1999
+++ php4/ext/standard/basic_functions.c Fri Jun 11 05:23:00 1999
@@ -2744,8 +2744,8 @@
length_val, /* Value of the length argument */
num_in, /* Number of elements in the input array */
pos, /* Current position in the array */
- argc, /* Number of function arguments */
- i; /* Loop counter */
+ argc; /* Number of function arguments */
+
char *string_key;
ulong num_key;
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.13 php4/ext/standard/file.c:1.14
--- php4/ext/standard/file.c:1.13 Thu May 20 09:56:19 1999
+++ php4/ext/standard/file.c Fri Jun 11 05:23:00 1999
@@ -26,7 +26,7 @@
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.13 1999/05/20 13:56:19 sas Exp $ */
+/* $Id: file.c,v 1.14 1999/06/11 09:23:00 zeev Exp $ */
#include "php.h"
#include "php_globals.h"
#include "ext/standard/flock_compat.h"
@@ -1526,8 +1526,8 @@
pval *fd, *bytes;
FILE *fp;
- int id, len, br, type;
- char *buf, *p, *rbuf, *rp, c, lc;
+ int id, len, type;
+ char *buf;
int issock=0;
int *sock,socketd=0;