"pkg prefix" is noisy

David Bateman David.Bateman at motorola.com
Wed Apr 2 03:48:23 CDT 2008


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                                David.Bateman at motorola.com
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



More information about the Octave-maintainers mailing list