Ticket URL: <
http://trac.wxwidgets.org/ticket/14340>
#14340: wxTarOutputStream cannot write into wxZlibOutputStream
--------------------+-------------------------------------------------------
Reporter: ardi | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: base | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
--------------------+-------------------------------------------------------
When the wxTar* and wxZlib* classes were first announced, it was told you
could create a tar and compress it in a single operation. However, as
explained in the following forum thread, it's not possible to do so:
http://forums.wxwidgets.org/viewtopic.php?f=27&t=21735
The problem appears to be that wxTarOutputStream requires its output to be
a seekable stream. However, it seems this requirement didn't exist when
these classes were initially implemented.
Not being able to create a tar and compress it on the fly is an annoyance
because it requires to temporally store the whole tar file on a memory
stream, which can be quite memory consuming.
--
Ticket URL: <
http://trac.wxwidgets.org/ticket/14340>