[om-qa-alerts] [Bug 2051] New: unpack fails in Octave
issues.openmandriva
bugzilla-daemon at openmandriva.net
Wed Feb 15 20:09:25 EST 2017
https://issues.openmandriva.org/show_bug.cgi?id=2051
Bug ID: 2051
Summary: unpack fails in Octave
Product: Openmandriva Lx 3.0
Version: Lx 3.0
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: Software
Assignee: cris at beebgames.com
Reporter: mandian at openmailbox.org
QA Contact: tpgxyz at gmail.com
CC: itchka at compuserve.com
unpack command in Octave return a strange result where 'x ' string is added at
each file name in output file list
Here is an example:
$ wget https://downloads.sourceforge.net/io-2.4.5.tar.gz
$ octave --eval 'list = unpack("io-2.4.5.tar.gz", ".")'
list =
{
[1,1] = x io/
[2,1] = x io/COPYING
[3,1] = x io/DESCRIPTION
.
.
.
[144,1] = x io/src/csvconcat.cc
[145,1] = x io/src/csvexplode.cc
[146,1] = x io/src/Makefile
[147,1] = x io/src/num2col.cc
}
The failing script is /usr/share/octave/4.2.0/m/miscellaneous/unpack.m
I can see this in lx3.0 and cooker while 2014.x seems working well instead,
even if all them actually share the same version of octave. Also the script
unpakc.m is the exactly same in 2014 and cooker.
In fact unpack function just used following command
gzip -d -c "%s" | tar xvf -
so I think it problem is tar add the 'x ' string at the beginning of each line.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-qa-alerts_ml.openmandriva.org/attachments/20170216/8e984815/attachment.html>
More information about the OM-QA-Alerts
mailing list