octave-maintainers
[Top][All Lists]
Advanced

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

Re: "pkg prefix" is noisy


From: David Bateman
Subject: Re: "pkg prefix" is noisy
Date: Wed, 02 Apr 2008 10:48:23 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080306)

Thomas Weber wrote:
> Hi, 
>
> with current tip (3c16e2414564):
>
> ===============================
> octave:1> pkg prefix /tmp
> ans = /tmp
> ===============================
>
> This is due to line 318, 
>
>       local_packages = prefix;
>
> which is later returned. I spent some time looking through my code for a
> forgotten semicolon, until I understood that this comes from pkg.m
> itself. 
>
> So, is the above assignement necessary for something? If not, I'll
> sumbmit a patch to remove it, its information value is zero.
>
>
>   

No I don't think its necessary to make the assignment, or at least only
make it conditional on nargout being greater than zero..

D.



-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

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