+2010-01-28 Chong Yidong <cyd@stupidchicken.com>
+
+ * arc-mode.el (archive-zip-extract): Quote the argument passed to
+ unzip (Bug#5475).
+
2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
* progmodes/flymake.el (flymake-allowed-file-name-masks)
(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)
+ archive-zip-extract)))
(defun archive-zip-write-file-member (archive descr)
(archive-*-write-file-member