arc-mode.el (archive-zip-extract): If w32-quote-process-args is nil, do quote
archive member names. Suggested by hm <helmut.muelner@joanneum.at>.
This commit is contained in:
parent
66f782de2e
commit
72a446736e
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-12-10 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* arc-mode.el (archive-zip-extract): If w32-quote-process-args is
|
||||
nil, do quote archive member names. (Bug#6144)
|
||||
|
||||
2010-12-10 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* files.el (diff-no-select): Declare.
|
||||
|
|
|
@ -1813,10 +1813,12 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
|
|||
archive
|
||||
;; unzip expands wildcards in NAME, so we need to quote it. But
|
||||
;; not on DOS/Windows, since that fails extraction on those
|
||||
;; systems, and file names with wildcards in zip archives don't
|
||||
;; work there anyway.
|
||||
;; systems (unless w32-quote-process-args is nil), and file names
|
||||
;; with wildcards in zip archives don't work there anyway.
|
||||
;; FIXME: Does pkunzip need similar treatment?
|
||||
(if (and (not (memq system-type '(windows-nt ms-dos)))
|
||||
(if (and (or (not (memq system-type '(windows-nt ms-dos)))
|
||||
(and (boundp 'w32-quote-process-args)
|
||||
(null w32-quote-process-args)))
|
||||
(equal (car archive-zip-extract) "unzip"))
|
||||
(shell-quote-argument name)
|
||||
name)
|
||||
|
|
Loading…
Add table
Reference in a new issue