[Pkg-octave-devel] Bug#514802: Bug#514802: Bug#514802: octave-symbolic: (un)install accesses user .octave_hist

Thomas Weber thomas.weber.mail at gmail.com
Thu Feb 12 09:05:53 UTC 2009


Am Mittwoch, den 11.02.2009, 17:55 +0100 schrieb Rafael Laboissiere:
> * Thomas Weber <thomas.weber.mail at gmail.com> [2009-02-11 13:34]:
> 
> > I don't think so. Seems to me like octave is accessing .octave_hist
> > despite the --no-history flag. Snippet from 
> > 	$ strace -f octave --no-history
> > 
> > open("/home/weber/.octave_hist", O_RDONLY) = 3
> > open("/home/weber/.octave_hist", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3
> > 
> > I seem to remember that this came up once already, but can't find it
> > currently.
> 
> Is this an upstream bug?

If it's a bug, yes. It seems that --no-history only influences the
saving of the new command at the end of an Octave session. 

Then again, it seems logical to read it, so you can scroll the history
of past commands. I'm not sure that fixing the current corner-case of
non-readable .octave_hist file is worth the effort.

	Thomas






More information about the Pkg-octave-devel mailing list