bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [gawk-stable] bug: fatal error when getline from directory


From: Andrew J. Schorr
Subject: Re: [gawk-stable] bug: fatal error when getline from directory
Date: Mon, 5 Jan 2009 17:38:49 -0500
User-agent: Mutt/1.4.2.2i

On Mon, Jan 05, 2009 at 11:27:40PM +0100, Paolo wrote:
> pls see attached diffs, it's just a POC for '/dir/' extension - I 
> know it'd be in extension/, likely not portable etc., and likely won't
> ever make it into official code - but just for fun and perhaps future ref,

Hmmm, my first thought was that this could be implemented as
an extension using the register_open_hook feature (the same
way XML hooks in), but now I'm concerned that the existing
open_hook feature is called after the file is opened, so
this prevents the file from being opened with opendir()
instead of open().  I wonder if we need to push the open_hook
feature up a bit to support this...

Regards,
Andy




reply via email to

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