cvs: php4 /ext/dbase dbase.c
| From: | Vlad Krupin | Date: | Mon, 31 Dec 2001 10:23:30 +0000 |
| Subject: | cvs: php4 /ext/dbase dbase.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8879@lists.php.net to get a copy of this message | ||
vlad Mon Dec 31 05:23:30 2001 EDT
Modified files:
/php4/ext/dbase dbase.c
Log:
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)
Index: php4/ext/dbase/dbase.c
diff -u php4/ext/dbase/dbase.c:1.55 php4/ext/dbase/dbase.c:1.56
--- php4/ext/dbase/dbase.c:1.55 Mon Dec 31 04:13:08 2001
+++ php4/ext/dbase/dbase.c Mon Dec 31 05:23:30 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbase.c,v 1.55 2001/12/31 09:13:08 vlad Exp $ */
+/* $Id: dbase.c,v 1.56 2001/12/31 10:23:30 vlad Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -745,7 +745,7 @@
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;