--- embedaddon/php/ext/dba/libinifile/inifile.c 2012/02/21 23:47:54 1.1 +++ embedaddon/php/ext/dba/libinifile/inifile.c 2013/10/14 08:02:11 1.1.1.4 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2010 The PHP Group | + | Copyright (c) 1997-2013 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: inifile.c,v 1.1 2012/02/21 23:47:54 misho Exp $ */ +/* $Id: inifile.c,v 1.1.1.4 2013/10/14 08:02:11 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -24,7 +24,6 @@ #include "php.h" #include "php_globals.h" -#include "safe_mode.h" #include #include @@ -43,7 +42,7 @@ /* {{{ inifile_version */ char *inifile_version() { - return "1.0, $Revision: 1.1 $"; + return "1.0, $Id: inifile.c,v 1.1.1.4 2013/10/14 08:02:11 misho Exp $"; } /* }}} */ @@ -461,7 +460,7 @@ static int inifile_filter(inifile *dba, inifile *from, */ static int inifile_delete_replace_append(inifile *dba, const key_type *key, const val_type *value, int append TSRMLS_DC) { - size_t pos_grp_start, pos_grp_next; + size_t pos_grp_start = 0, pos_grp_next; inifile *ini_tmp = NULL; php_stream *fp_tmp = NULL; int ret;