Compression breakage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Compression breakage

Chris Muller-3
Hi Andreas, it looks like a recent change made to
ZipArchiveMember>>#writeDataTo: is causing an issue in creating a
zipped directory of files.

I've added a simple test which demonstrates what I'm doing and the
problem.  (ZipArchiveTests>>#testCreateWithRelativeNames).  If I
revert the method this test works.  Can you help?

 - Chris

Reply | Threaded
Open this post in threaded view
|

Re: Compression breakage

Andreas.Raab
On 9/16/2010 4:39 PM, Chris Muller wrote:
> Hi Andreas, it looks like a recent change made to
> ZipArchiveMember>>#writeDataTo: is causing an issue in creating a
> zipped directory of files.
>
> I've added a simple test which demonstrates what I'm doing and the
> problem.  (ZipArchiveTests>>#testCreateWithRelativeNames).  If I
> revert the method this test works.  Can you help?

At a guess, try the following:

ZipDirectoryMember>>writeDataTo: aStream
        "Write nothing. Directories have no contents to write."

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: Compression breakage

Chris Muller-3
Worked, tank you!

On Thu, Sep 16, 2010 at 6:55 PM, Andreas Raab <[hidden email]> wrote:

> On 9/16/2010 4:39 PM, Chris Muller wrote:
>>
>> Hi Andreas, it looks like a recent change made to
>> ZipArchiveMember>>#writeDataTo: is causing an issue in creating a
>> zipped directory of files.
>>
>> I've added a simple test which demonstrates what I'm doing and the
>> problem.  (ZipArchiveTests>>#testCreateWithRelativeNames).  If I
>> revert the method this test works.  Can you help?
>
> At a guess, try the following:
>
> ZipDirectoryMember>>writeDataTo: aStream
>        "Write nothing. Directories have no contents to write."
>
> Cheers,
>  - Andreas
>
>