summaryrefslogtreecommitdiff
path: root/ext/dbase
diff options
context:
space:
mode:
authorVlad Krupin <vlad@php.net>2001-12-31 10:23:30 +0000
committerVlad Krupin <vlad@php.net>2001-12-31 10:23:30 +0000
commit2f0cd79621ffc21f9fd1aa50d6eb497a1f59b879 (patch)
treed9c51948cb55ff52785414c08107c476a351c1ff /ext/dbase
parent431c1f1d310dea4f400e8dd12292ecb61a16724a (diff)
downloadphp-git-2f0cd79621ffc21f9fd1aa50d6eb497a1f59b879.tar.gz
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)
Diffstat (limited to 'ext/dbase')
-rw-r--r--ext/dbase/dbase.c2
1 files changed, 1 insertions, 1 deletions
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;