in reply to Portable in-memory files
Update
I'm trying to use this with Compress::Zlib. Unfortunately, gzopen expects a real filehandle. It calls gzdopen on the file descriptor (returned by FILENO), a zlib-internal function written in C. I'm out of my wits.
*sigh*
In case anybody is wondering why I am doing this: I am trying to create in-memory .tar.gz files. Unfortunately, if I use memGzip to compress Archive::Tar's output, the resulting file cannot be read by some tar programs. I presume the reason is that memGzip only creates a minimal gzip file header.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Portable in-memory files
by bart (Canon) on Apr 07, 2003 at 00:17 UTC | |
by crenz (Priest) on Apr 07, 2003 at 10:19 UTC | |
by Aristotle (Chancellor) on Apr 07, 2003 at 15:42 UTC |