iliaa Sun Nov 18 14:20:17 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/dbase dbf_head.c
/php-src NEWS
Log:
MFB: Fixed bug #42261 (Incorrect lengths for date and boolean data types)
http://cvs.php.net/viewvc.cgi/php-src/ext/dbase/dbf_head.c?r1=1.14.4.1.2.7&r2=1.14.4.1.2.8&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.7
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.7 Fri Aug 10 00:30:04 2007
+++ php-src/ext/dbase/dbf_head.c Sun Nov 18 14:20:17 2007
@@ -160,6 +160,9 @@
case 'D':
dbf->db_flen = 8;
break;
+ case 'L':
+ dbf->db_flen = 1;
+ break;
default:
dbf->db_flen = get_short(dbfield.dbf_flen);
break;
@@ -195,6 +198,12 @@
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);
}
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1014&r2=1.2027.2.547.2.1015&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1014 php-src/NEWS:1.2027.2.547.2.1015
--- php-src/NEWS:1.2027.2.547.2.1014 Fri Nov 16 14:19:35 2007
+++ php-src/NEWS Sun Nov 18 14:20:17 2007
@@ -23,7 +23,8 @@
- Fixed bug #42736 (xmlrpc_server_call_method() crashes). (Tony)
- Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer).
(Dmitry)
-
+- Fixed bug #42261 (Incorrect lengths for date and boolean data types).
+ (Ilia)
08 Nov 2007, PHP 5.2.5
- Upgraded PCRE to version 7.3 (Nuno)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php