Opened 12 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)

zip_archive_diffs (6.7 KB ) - added by ataylor 11 years ago.
diffs for implementing OS/2 -AC and -AS support in zip

Download all attachments as: .zip

Change History (3)

by ataylor, 11 years ago

Attachment: zip_archive_diffs added

diffs for implementing OS/2 -AC and -AS support in zip

comment:1 by ataylor, 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).

comment:2 by Yuri Dario, 11 years ago

Resolution: fixed
Status: newclosed

Done, see changeset:659.

Note: See TracTickets for help on using tickets.