cvs: php-src /ext/dbase dbf_head.c
| From: | Ilia Alshanetsky | Date: | Mon, 19 Nov 2007 13:57:02 +0000 |
| Subject: | cvs: php-src /ext/dbase dbf_head.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47233@lists.php.net to get a copy of this message | ||
iliaa Mon Nov 19 13:57:02 2007 UTC
Modified files:
/php-src/ext/dbase dbf_head.c
Log:
MFB 'L' size support
http://cvs.php.net/viewvc.cgi/php-src/ext/dbase/dbf_head.c?r1=1.23&r2=1.24&diff_format=u
Index: php-src/ext/dbase/dbf_head.c
diff -u php-src/ext/dbase/dbf_head.c:1.23 php-src/ext/dbase/dbf_head.c:1.24
--- php-src/ext/dbase/dbf_head.c:1.23 Sun Nov 18 16:51:11 2007
+++ php-src/ext/dbase/dbf_head.c Mon Nov 19 13:57:02 2007
@@ -157,7 +157,10 @@
dbf->db_flen = dbfield.dbf_flen[0];
dbf->db_fdc = dbfield.dbf_flen[1];
break;
- case 'D':
+ case 'L':
+ dbf->db_flen = 1;
+ break;
+ case 'D':
dbf->db_flen = 8;
break;
default: