PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB » Bug #288

Not reading binary files

Details

Submitted2003-11-24 11:54 UTC
Fromklemen at virtuni dot net
Assignedchagenbu
StatusClosed
PackageDB
PHP Version4.3.3
OSwindows
Roadmaps(Not assigned)

Comments

[2003-11-24 11:54 UTC] klemen at virtuni dot net

Description:
------------
If using PEAR on Windows machine PEAR::DB is not reading binary files as binary but text instead. This means that only part of a file gets read. When using fopen 'rb' should be used in file common.php in lines 613 and 615.

[2003-12-18 16:46 UTC] chagenbu at php dot net

I've committed this fix in CVS - it will be in the next DB release. Thanks!