bitwiseworks / libcx

kLIBC Extension Library
GNU Lesser General Public License v2.1
11 stars 1 forks source link

Overcome DosRead large file bug on JFS #36

Closed dmik closed 7 years ago

dmik commented 7 years ago

There is a severe bug in DosRead when it comes to reading big files at once on a JFS partition, see https://mantis.arcanoae.com/view.php?id=1117 for more info (discovered when creating a Firefox RPM, see https://github.com/bitwiseworks/mozilla-os2/issues/142#issuecomment-301901670).

An obvious solution to overcome this is to break the read operation into smaller pieces. Given that we already override DosRead to fix its another bug (see #21), this shouldn't be difficult.