-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for some files with foreign data
Post-verion-4 files with foreign data are maybe supported correctly. This properly treats the length field as a 32-bit int and gets rid of some special cases. Unfortunately, this adds another special case; in the example file sent to me with foreign data, the header's length is 80 bytes short. I can't find anything referencing this easily, so for now I'm just padding the header's length out another 80 bytes when it's nonempty. Yes, I know this is garbage. All files part of the main test set work, as do the files provided in issue #27. Actually fixes #27.
- Loading branch information
Showing
1 changed file
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters