Skip to content

HostSystem is on ZipEntry is not respected #340

@macsux

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

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