On Fri, 17 Jan 2014, Sven Schreiber wrote:
> 2014/1/17 Allin Cottrell <cottrell(a)wfu.edu
<mailto:cottrell@wfu.edu>>
>
> On Fri, 17 Jan 2014, Artur T. wrote:
>
> > The following results in a crash using cvs from 13.01.2014 in
> Windows 7:
> >
> > <hansl>
> > printf "Test %s",
> > </hansl>
>
> Is there some context we're missing here? In your script, was there
> a line
> following the "printf" command, and if so what was it?
>
> If I try this, just as stated, with current CVS I get the expected error
> message, "Command has insufficient arguments".
>
I can confirm the problem with a recent 32bit-snapshot on a 64-bit Win7.
Gretl doesn't literally crash, but goes into inresponsive mode
"forever", so I have to kill it.
When gretl comes across a trailing comma in that sort of context it's
treated as a line continuation signal (like "\"), so it seems that gretl
is waiting for more input, but there's none.
Having tested some more, I see 3 cases:
1) run script via gretlcli: you get the "insufficient arguments" message.
2) enter this line via GUI console: same thing.
3) run script via GUI: you get the hang as gretl waits for more input.
So case 3 needs fixing; I'll look into it.
Allin