From 2f0cd79621ffc21f9fd1aa50d6eb497a1f59b879 Mon Sep 17 00:00:00 2001 From: Vlad Krupin Date: Mon, 31 Dec 2001 10:23:30 +0000 Subject: [PATCH] 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) --- ext/dbase/dbase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1