Revision a9f8634a
ID | a9f8634a29c57f1c4d873bb6f9f417afb67ca2cb |
Parent | df71bfa3 |
Child | 8dbb1dc2 |
feature #1303: make the uncompressor write to the fd
ruby 1.8.7 has a bug writting files (or pipes) to overcome it
the file (or stdout) is opened in the downloader and then
the uncompress command is started redirecting stdout to the
descriptor. Pseudocode:
if write_to_stdout?
fd=dup(stdout)
else
fd=open(output_file)
end
exec("$UNCOMPRESSOR >&$fd")
Files
- added
- modified
- copied
- renamed
- deleted