[Gretl-devel] 'include' w/o 'open' -- new behavior

Allin Cottrell cottrell at wfu.edu
Fri Dec 21 17:38:16 EST 2007


On Fri, 21 Dec 2007, Allin Cottrell wrote:

> * For the file write commands (eqnprint -f, tabprint -f, outfile, 
> store) we use the userdir unless we're given a dotname, in which 
> case we use the shelldir.

Sorry, that's incomplete.  For these commands: if given a dotfile, 
use shelldir; else if USE_CWD is set (e.g. via the gui 
proferences), use shelldir; otherwise use userdir.

The function that does this is gretl_maybe_switch_dir() in 
gretl_paths.c

Allin.


More information about the Gretl-devel mailing list