[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Changeset] [description, status] = pkg (describe, package_name) fa
From: |
Jaroslav Hajek |
Subject: |
Re: [Changeset] [description, status] = pkg (describe, package_name) fails in 3.1.55 |
Date: |
Tue, 19 May 2009 16:13:24 +0200 |
On Tue, May 19, 2009 at 4:00 PM, Carlo de Falco <address@hidden> wrote:
> To: address@hidden
> 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