forked from ggreer/the_silver_searcher
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ggreer#896 - Stream decompress zipped files
Use the POSIX fopencookie(3) mechanism to produce a FILE object, and then treat them the same as other non-mmapable streams (i.e., FIFOs). Since some supported platforms do not support fopencookie(3) (Mac OS X, maybe Cygwin, older BSDs), retain non-streaming zip file support. Existing tests pass.
- Loading branch information
Showing
5 changed files
with
420 additions
and
2 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
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
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
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
Oops, something went wrong.