felipe Sat Jan 17 17:21:49 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/dbase dbf_head.c
Log:
- Fixed bug #46282 (Corrupt DBF When Using DATE)
Patch by: arne at bukkie dot nl
http://cvs.php.net/viewvc.cgi/php-src/ext/dbase/dbf_head.c?r1=1.14.4.1.2.8&r2=1.14.4.1.2.9&diff_format=u
Index: php-src/ext/dbase/dbf_head.c
diff -u php-src/ext/dbase/dbf_head.c:1.14.4.1.2.8
php-src/ext/dbase/dbf_head.c:1.14.4.1.2.9
--- php-src/ext/dbase/dbf_head.c:1.14.4.1.2.8 Sun Nov 18 14:20:17 2007
+++ php-src/ext/dbase/dbf_head.c Sat Jan 17 17:21:49 2009
@@ -198,12 +198,6 @@
dbfield.dbf_flen[0] = dbf->db_flen;
dbfield.dbf_flen[1] = dbf->db_fdc;
break;
- case 'D':
- dbf->db_flen = 8;
- break;
- case 'L':
- dbf->db_flen = 1;
- break;
default:
put_short(dbfield.dbf_flen, dbf->db_flen);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php