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

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

[Octave-bug-tracker] [bug #47578] zip/gzip/bzip2 fail when run from insi


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47578] zip/gzip/bzip2 fail when run from inside a path with spaces in name
Date: Fri, 01 Apr 2016 23:47:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #10, bug #47578 (project octave):

Here's one:


>> mkdir ("dir with spaces");
>> save file1
>> save file2
>> save file3
>> out = zip ("dir with spaces/foo.zip", "file*")
zipinfo:  cannot find or open /home/mike/dir, /home/mike/dir.zip or
/home/mike/dir.ZIP.
error: zip: zipinfo failed with exit status = 9
error: called from
    zip at line 79 column 7
>> cd ("dir with spaces");
>> ls
foo.zip


It actually creates the zip file, just fails to get the listing using
zipinfo.

I tested other cases with files containing spaces in the second argument, with
or without a glob, and a directory with spaces in the third argument, and they
all worked fine.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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