[PHP-DEV] Bug #11928 Updated: dbase_replace_record writes (null) in .dbf
ID: 11928 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: dBase related Operating System: Win2k PHP Version: 4.0.6 New Comment: Any news on this? Here is the fix, when can this be implemented?... 312c312 pval *dbh_id, *fields, **field, *recnum; --- pval *dbh_id, *fields, *field, *recnum; 359,360c359,360 convert_to_string(*field); sprintf(t_cp, cur_f-db_format, (*field)-value.str.val); --- convert_to_string(field); sprintf(t_cp, cur_f-db_format, field-value.str.val); 362a363 Previous Comments: [2001-07-06 08:03:27] [EMAIL PROTECTED] dbase_replace_record writes (null) string as field value. Identical bug with dbase_add_record was fixed in 4.02. See bug #6519 and #10984 (latter still open!!). I need a version where this function worked, or a promise of a fix soon or I'm screwed :o) Edit this bug report at http://bugs.php.net/?id=11928edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11928 Updated: dbase_replace_record writes (null) in .dbf
ID: 11928 Updated by: joey Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: dBase related Operating System: Win2k PHP Version: 4.0.6 New Comment: Fixed in CVS. Previous Comments: [2001-08-16 08:52:13] [EMAIL PROTECTED] Any news on this? Here is the fix, when can this be implemented?... 312c312 pval *dbh_id, *fields, **field, *recnum; --- pval *dbh_id, *fields, *field, *recnum; 359,360c359,360 convert_to_string(*field); sprintf(t_cp, cur_f-db_format, (*field)-value.str.val); --- convert_to_string(field); sprintf(t_cp, cur_f-db_format, field-value.str.val); 362a363 [2001-07-06 08:03:27] [EMAIL PROTECTED] dbase_replace_record writes (null) string as field value. Identical bug with dbase_add_record was fixed in 4.02. See bug #6519 and #10984 (latter still open!!). I need a version where this function worked, or a promise of a fix soon or I'm screwed :o) Edit this bug report at http://bugs.php.net/?id=11928edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]