iliaa           Fri Aug 10 00:30:05 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/dbase  dbf_head.c 
  Log:
  
  Fixed bug #42261 (header wrong for date field).
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.889&r2=1.2027.2.547.2.890&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.889 php-src/NEWS:1.2027.2.547.2.890
--- php-src/NEWS:1.2027.2.547.2.889     Thu Aug  9 23:27:22 2007
+++ php-src/NEWS        Fri Aug 10 00:30:04 2007
@@ -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)
http://cvs.php.net/viewvc.cgi/php-src/ext/dbase/dbf_head.c?r1=1.14.4.1.2.6&r2=1.14.4.1.2.7&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.6 
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.6   Wed May 16 13:17:50 2007
+++ php-src/ext/dbase/dbf_head.c        Fri Aug 10 00:30:04 2007
@@ -157,6 +157,9 @@
                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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to