cvs: php-src /ext/dba/libinifile inifile.c inifile.h
| From: | Marcus Boerger | Date: | Sun, 14 Dec 2003 22:07:30 +0000 |
| Subject: | cvs: php-src /ext/dba/libinifile inifile.c inifile.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25182@lists.php.net to get a copy of this message | ||
helly Sun Dec 14 17:07:30 2003 EDT
Modified files:
/php-src/ext/dba/libinifile inifile.c inifile.h
Log:
Not needed
Index: php-src/ext/dba/libinifile/inifile.c
diff -u php-src/ext/dba/libinifile/inifile.c:1.9 php-src/ext/dba/libinifile/inifile.c:1.10
--- php-src/ext/dba/libinifile/inifile.c:1.9 Sun Dec 7 11:56:51 2003
+++ php-src/ext/dba/libinifile/inifile.c Sun Dec 14 17:07:29 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: inifile.c,v 1.9 2003/12/07 16:56:51 sniper Exp $ */
+/* $Id: inifile.c,v 1.10 2003/12/14 22:07:29 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -43,7 +43,7 @@
/* {{{ inifile_version */
char *inifile_version()
{
- return "1.0, $Revision: 1.9 $";
+ return "1.0, $Revision: 1.10 $";
}
/* }}} */
@@ -83,7 +83,7 @@
inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC)
{
inifile *dba;
- int fd = 0;
+ int fd;
if (!readonly) {
if (!php_stream_truncate_supported(fp)) {
@@ -98,7 +98,6 @@
dba = pemalloc(sizeof(inifile), persistent);
memset(dba, 0, sizeof(inifile));
dba->fp = fp;
- dba->fd = fd;
dba->readonly = readonly;
return dba;
}
Index: php-src/ext/dba/libinifile/inifile.h
diff -u php-src/ext/dba/libinifile/inifile.h:1.2 php-src/ext/dba/libinifile/inifile.h:1.3
--- php-src/ext/dba/libinifile/inifile.h:1.2 Tue Jun 10 16:03:27 2003
+++ php-src/ext/dba/libinifile/inifile.h Sun Dec 14 17:07:29 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: inifile.h,v 1.2 2003/06/10 20:03:27 imajes Exp $ */
+/* $Id: inifile.h,v 1.3 2003/12/14 22:07:29 helly Exp $ */
#ifndef PHP_LIB_INIFILE_H
#define PHP_LIB_INIFILE_H
@@ -40,7 +40,6 @@
char *lockfn;
int lockfd;
php_stream *fp;
- int fd;
int readonly;
line_type curr;
line_type next;