diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | ext/dbase/dbf_head.c | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,8 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Aug 2007, PHP 5.2.4 +- Fixed bug #42261 (header wrong for date field). (roberto at spadim dot com + dot br, Ilia) - Fixed bug #42247 (ldap_parse_result() not defined under win32). (Jani) - Fixed bug #42237 (stream_copy_to_stream returns invalid values for mmaped streams). (andrew dot minerd at sellingsource dot com, Ilia) diff --git a/ext/dbase/dbf_head.c b/ext/dbase/dbf_head.c index 33e3a425d7..62296bd5e9 100644 --- a/ext/dbase/dbf_head.c +++ b/ext/dbase/dbf_head.c @@ -157,6 +157,9 @@ int get_dbf_field(dbhead_t *dbh, dbfield_t *dbf) dbf->db_flen = dbfield.dbf_flen[0]; dbf->db_fdc = dbfield.dbf_flen[1]; break; + case 'D': + dbf->db_flen = 8; + break; default: dbf->db_flen = get_short(dbfield.dbf_flen); break; |