From: Vlad Krupin Date: Mon, 31 Dec 2001 10:23:30 +0000 (+0000) Subject: Verified and fixed bug 6852 #2. Now memo fields are 10 butes long, not 9. X-Git-Tag: PRE_ISSET_PATCH~345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f0cd79621ffc21f9fd1aa50d6eb497a1f59b879;p=php Verified and fixed bug 6852 #2. Now memo fields are 10 butes long, not 9. That does not seem to affect how the code works except when creating a new structure, in which case 'M' fields used to get created with size 9. @Fixed bug 6852 #2. Mem fields are now 10 bytesin size, not 9. (Vlad) --- diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c index 8f7ab60703..002a0c3e18 100644 --- a/ext/dbase/dbase.c +++ b/ext/dbase/dbase.c @@ -745,7 +745,7 @@ PHP_FUNCTION(dbase_create) cur_f->db_flen = 1; break; case 'M': - cur_f->db_flen = 9; + cur_f->db_flen = 10; dbh->db_dbt = DBH_TYPE_MEMO; /* should create the memo file here, probably */ break;