Opened 11 years ago
Closed 11 years ago
#21 closed enhancement (fixed)
zip: -AC option not supported
Reported by: | ataylor | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | *none | Version: | |
Severity: | Keywords: | zip | |
Cc: |
Description
The -AC option (clear archive attribute) should be supported under OS/2 as well as Win32. (The -AS option should be supported as well.)
(This information from Silvan:)
1971 #if defined(WIN32)
1972 {"AC", "archive-clear", o_NO_VALUE, o_NOT_NEGATABLE, o_AC, "clear DOS archive bit of included files"},
1973 {"AS", "archive-set", o_NO_VALUE, o_NOT_NEGATABLE, o_AS, "include only files with archive bit set"},
1974 #endif
It looks as if the #if statement should be updated to include an OS2 platform variable.
Attachments (1)
Change History (3)
by , 11 years ago
Attachment: | zip_archive_diffs added |
---|
comment:1 by , 11 years ago
Well, turned out to be a bit more complicated than that, since the implementation code also had to be written for OS/2.
I've tried my hand at implementing it now, though. It seems to work here in (brief, limited) tests. The diffs are attached (zip_archive_diffs).
diffs for implementing OS/2 -AC and -AS support in zip