bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#6144: 23.2; unzip arguments quoting


From: hm
Subject: Re: bug#6144: 23.2; unzip arguments quoting
Date: Wed, 08 Dec 2010 14:40:49 -0000
User-agent: G2/1.0

I also had this problem. Following the lead of Dmitry I solved it by
changing archive-zip-extract in arc-mode.el to:

(defun archive-zip-extract (archive name)
  (if (member-ignore-case (car archive-zip-extract) '("pkunzip"
"pkzip"))
      (archive-*-extract archive name archive-zip-extract)
    (archive-extract-by-stdout
     archive
     ;; unzip expands wildcards in NAME, so we need to quote it.
     ;; FIXME: Does pkunzip need similar treatment?
     (if (and (not w32-quote-process-args) ;; <----
              (equal (car archive-zip-extract) "unzip")
              )
         (shell-quote-argument name)
       name)
     archive-zip-extract)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]