[Issue 11692] New: can't set file attributes for std.zip.ArchiveMember

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 5 15:30:24 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11692

           Summary: can't set file attributes for std.zip.ArchiveMember
           Product: D
           Version: D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at dawg.eu


--- Comment #0 from Martin Nowak <code at dawg.eu> 2013-12-05 15:30:15 PST ---
To set the external (OS specific) file attributes one also has to set it's
format which is stored in the upper byte of madeVersion.
With https://github.com/D-Programming-Language/phobos/pull/1697 madeVersion
became a read-only property so this is no longer possible.
This is needed to store zip files with executable flag or directories on Posix.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list