[Changeset] [description, status] = pkg (describe, package_name) fails in 3.1.55
Jaroslav Hajek
highegg at gmail.com
Tue May 19 09:13:24 CDT 2009
On Tue, May 19, 2009 at 4:00 PM, Carlo de Falco <carlo.defalco at gmail.com> wrote:
> To: bug at octave.org
> Subject: [Changeset] [description, status] = pkg (describe, package_name)
> fails in 3.1.55
> --------
> Bug report for Octave 3.1.55 configured for i386-apple-darwin9.7.0
>
> Description:
> -----------
>
> according to the documentation for pkg:
>
> <...>
> `describe'
> <...>
> If any of the requested packages is not installed, pkg
> returns an error, unless a second output is requested:
> [ desc, flag] = pkg ("describe", "secs1d", "image")
> FLAG will take one of the values "Not installed", "Loaded" or
> "Not loaded" for each of the named packages.
> <...>
>
> but this syntax causes a failure if querying one single package and that
> package is not installed.
> This is caused by a change in the way Octave handles output parameters that
> are assigned no value in a function.
>
> Repeat-By:
> ---------
>
> [desc, flag] = pkg ("describe", "non_existing_package")
>
> Fix:
> ---
>
> A chaneset is attached that initializes the description output
> parameter even if none of the packages being described is installed
>
it seems you've sent an incorrect patch.
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Octave-maintainers
mailing list