bug-gawk
[Top][All Lists]
Advanced

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

Re: fflush & close behavior not well-defined


From: Andrew J. Schorr
Subject: Re: fflush & close behavior not well-defined
Date: Tue, 15 Sep 2020 12:22:46 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Sep 15, 2020 at 06:59:27AM +0000, Lorenz via Bug reports and all 
discussion about gawk. wrote:
> would gawk warning about such ambiguitiies be an option? At least in
> --lint mode?
> -- 

I like that idea; I'd vote for issuing the warning regardless of whether --lint
is set. The only downside is that we'd have to scan the entire list of
redirections each time instead of bailing out at the first match, although that
performance degradation could be fixed by storing the redirections in a hash
table instead of in a linked list.

Regards,
Andy



reply via email to

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