Commit 763f325e authored by Chong Yidong's avatar Chong Yidong
Browse files

* arc-mode.el (archive-zip-extract): Quote the argument passed to unzip (Bug#5475).

parent fd09a83f
2010-01-28 Chong Yidong <>
* arc-mode.el (archive-zip-extract): Quote the argument passed to
unzip (Bug#5475).
2010-01-28 Nil Geisweiller <> (tiny change)
* progmodes/flymake.el (flymake-allowed-file-name-masks)
......@@ -1784,7 +1784,10 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
(defun archive-zip-extract (archive name)
(if (equal (car archive-zip-extract) "pkzip")
(archive-*-extract archive name archive-zip-extract)
(archive-extract-by-stdout archive name archive-zip-extract)))
;; unzip expands wildcards in NAME, so we need to quote it.
;; FIXME: Does pkzip need similar treatment?
(archive-extract-by-stdout archive (shell-quote-argument name)
(defun archive-zip-write-file-member (archive descr)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment