bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] Removed funny behavior on EOF


From: Andrew Moore
Subject: Re: [Bug-ed] Removed funny behavior on EOF
Date: Mon, 28 Jan 2013 18:49:58 -0800

EINTR (typically, for BSD systems) would be handled by examining errno if 
(terror(stdin)) and restarting the read loop if (errno == EINTR).  This was not 
implemented in ed 0.2, but in my current implementation: 
git://github.com/slewsys/ed.git

"Double EOF" is a bug.
-AM

Antonio wrote:
> So maybe the "double EOF" is there to handle an interrupted "getchar", in 
> which case we should leave it alone.





reply via email to

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