cvs: php4(PHP_4_0_7) /ext/dbase dbase.c

From: Date: Fri, 17 Aug 2001 00:48:34 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/dbase dbase.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6905@lists.php.net to get a copy of this message
sniper Thu Aug 16 20:48:34 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/dbase dbase.c Log: MFH Index: php4/ext/dbase/dbase.c diff -u php4/ext/dbase/dbase.c:1.47 php4/ext/dbase/dbase.c:1.47.2.1 --- php4/ext/dbase/dbase.c:1.47 Tue Aug 14 07:07:18 2001 +++ php4/ext/dbase/dbase.c Thu Aug 16 20:48:33 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dbase.c,v 1.47 2001/08/14 11:07:18 sniper Exp $ */ +/* $Id: dbase.c,v 1.47.2.1 2001/08/17 00:48:33 sniper Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -321,7 +321,7 @@ Replaces a record to the database */ PHP_FUNCTION(dbase_replace_record) { - pval *dbh_id, *fields, *field, *recnum; + pval *dbh_id, *fields, **field, *recnum; dbhead_t *dbh; int dbh_type; @@ -368,8 +368,8 @@ efree(cp); RETURN_FALSE; } - convert_to_string(field); - sprintf(t_cp, cur_f->db_format, field->value.str.val); + convert_to_string_ex(field); + sprintf(t_cp, cur_f->db_format, Z_STRVAL_PP(field)); t_cp += cur_f->db_flen; }

« previous php.cvs (#6905) next »