]> git.eshelyaron.com Git - emacs.git/commit
* lisp/arc-mode.el (archive--file-desc): Add fields from other structs
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 4 Apr 2020 02:27:54 +0000 (22:27 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 5 Apr 2020 00:06:55 +0000 (20:06 -0400)
commitc09457e6ed85da8bdc287851a05c4e3f95a44033
tree06705ddfb1f7c22b2172e766b0c0f7200df24371
parent4b4da58e8c11f639886926018cb0feb964688a97
* lisp/arc-mode.el (archive--file-desc): Add fields from other structs

Add fields `size`, `time` (used by all backends) as well as
`pos`, `ratio`, `uid`, and `gid` (used only be some backends).

(archive-arc--file-desc, archive-rar--file-desc, archive-ar--file-desc)
(archive-lzh--file-desc, archive-zip--file-desc, archive-7z--file-desc):
Remove defstructs.
(archive-arc-summarize): Record size and time in the descrs.
(archive-lzh-summarize): Record size, time, uid, and gid in the descrs.
(archive-zip-summarize): Record size and time in the descrs.
(archive-zoo-summarize): Record size and time in the descrs.
(archive-rar-summarize): Adjust to use of `archive--file-desc`.
(archive-7z-summarize): Adjust to new constructor.
(archive-ar-summarize): Adjust to use of `archive--file-desc`.

(archive-ar-write-file-member): Remove mode-to-int hack.
(archive-get-descr): Directory entries aren't regular members.
lisp/arc-mode.el