ID:               43265
 Updated by:       [EMAIL PROTECTED]
 Reported By:      roberto at spadim dot com dot br
-Status:           Open
+Status:           Bogus
 Bug Type:         dBase related
 Operating System: any
 PHP Version:      5.2.5
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Just one report per bug, okay?


Previous Comments:
------------------------------------------------------------------------

[2007-11-12 17:29:02] roberto at spadim dot com dot br

Description:
------------
continuing bug 42261...


[28 Sep 7:18pm UTC] roberto at spadim dot com dot br

hello, the same error occur now for logic data (boolean)

    [0] => Array
        (
            [name] => SUSPENSO
            [type] => boolean
            [length] => 34817  <========= should be 1
            [precision] => 0
            [format] => %34817s
            [offset] => 1
        )

    [1] => Array
        (
            [name] => COD_CAD
            [type] => number
            [length] => 9
            [precision] => 0
:
....

[17 Oct 6:45am UTC] roberto at spadim dot com dot br

=>            case 'L':
=>                dbf->db_flen = 1;
=>                break;

should work for logic values (boolean)



the patch was not included in php 5.2.5!

Reproduce code:
---------------
a file with some wrong header information

Expected result:
----------------
boolean must be 1 byte length

Actual result:
--------------
an arbitrary length


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43265&edit=1

Reply via email to