Skip to content

HostSystem is on ZipEntry is not respected #340

Closed

Description

@macsux

Steps to reproduce

  1. Start with sample ZIP application https://github.com/icsharpcode/SharpZipLib/tree/master/samples/ICSharpCode.SharpZipLib.Samples/cs/CreateZipFile
  2. Modify to set HostSystem = 3 on ZipEntry object

Also setting ExtraData is not saved as well...

Sample LinqPad script here: http://share.linqpad.net/fungmm.linq

Expected behavior

Zip file is created with HostSystem set to *unx
Need to set the OS to be able to attach file permission information properly.

Actual behavior

HostSystem flag is not respected

Version of SharpZipLib

1.1

Obtained from (only keep the relevant lines)

  • Package installed using NuGet

Activity

  1. Numpsy commented on Apr 26, 2019

    @Numpsy
    Contributor

    related to / same as #325 ? (it mentions the setting of HostSystem being broken)

  2. macsux commented on May 17, 2019

    @macsux
    Author

    I've confirmed that the open PR fixes the issue I'm experiencing. Would be great if it can be merged a new pre-release nuget package minted, right now I've compiled myself and posted it here: https://www.myget.org/F/macsux/api/v3/index.json

  3. Numpsy commented on Aug 11, 2019

    @Numpsy
    Contributor

    Fixed by #325 / #350 ?

  4. macsux commented on Aug 11, 2019

    @macsux
    Author
  5. Numpsy commented on Aug 11, 2019

    @Numpsy
    Contributor

    The changes should be included in the new 1.2.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions