octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47232] zip fails if filename has whitespace


From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #47232] zip fails if filename has whitespace
Date: Tue, 23 Feb 2016 08:41:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1

URL:
  <http://savannah.gnu.org/bugs/?47232>

                 Summary: zip fails if filename has whitespace
                 Project: GNU Octave
            Submitted by: andy1978
            Submitted on: Di 23 Feb 2016 08:41:09 GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: Patch Submitted
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:


fn1 = "simple test1";
fn2 = "simple test2";
tmp = pi; save (fn1, "tmp")
tmp = e; save (fn2, "tmp")

zip ("simp.zip", {fn1, fn2})


fails with

error: zip: zip failed with exit status = 12
error: called from
    zip at line 66 column 5


I suggest following change but I'm unsure if quoting should be done with
single or double quotes.






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 23 Feb 2016 08:41:09 GMT  Name: zip_quote.diff  Size: 438B   By:
andy1978

<http://savannah.gnu.org/bugs/download.php?file_id=36434>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47232>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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