octave-maintainers
[Top][All Lists]
Advanced

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

bug in pkg, untar


From: Tom Holroyd (NIH/NIMH) [E]
Subject: bug in pkg, untar
Date: Sat, 28 Apr 2007 11:37:34 -0400
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929)

The current cvs pkg doesn't work. At the end of untar.m, the result of unpack 
is placed in
a cell array of length 0, which fails. It's doing something like:

        v = cell(1,0);
        [v{:}] = {'a', 'b'};

which results in

error: A(:) = X: A must be the same size as X

Currently, untar is called with nargout equal to 0.

It's not clear to me why the above isn't just:

        v = {'a', 'b'};

or why it used to work. Did something change with zero length cell arrays?

--
Tom Holroyd, Ph.D.
"The fundamentally misconceived nature versus nurture debate should be
abandoned: child development is inextricably both." -- Louann Brizendine


reply via email to

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