>>>>> Ivan Shmakov writes: >>>>> Eli Zaretskii writes: >>>>> From: Ivan Shmakov Date: Thu, 01 Jan 2015 17:55:46 +0000 […] >>> * lisp/tar-mode.el (tar-untar-buffer): Ignore archive entries with >>> link type being 55 (pax global extended header.) >> What about type 72? > Frankly, – no idea; I don’t seem to recall seeing one so far. > In order not to place such checks all over the code, we may want > either a separate tar-header-service-p function for the > tar-untar-buffer callers to use to decide whether the file will be > extracted or not, /or/ an optional filter function argument to > tar-untar-buffer for the /caller/ to specify which files to filter > out. Please consider the revised patch MIMEd. * lisp/tar-mode.el (tar-header-extractable-p): New function. (tar-untar-buffer): Use it; or use the value of the new optional argument instead. * lisp/emacs-lisp/package.el (package-untar-buffer): Use tar-header-extractable-p. (package-tar-file-info): Consider the second file name in the archive if the first one has no directory component. […] -- FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A