[BusyBox] ash - signal handling problem?

Vladimir N. Oleynik dzo at simtreas.ru
Sun Feb 1 11:23:37 UTC 2004


I wrote:

> Jean,
> 
>> 1. Problem (ignored ctrl d):
>>
>> After reading ctrl d cmdedit_read_input() returns with 0, 
> 
> 
> Yes.
> 
>> preadfd
>> expects -1 after ctrl d. 
> 
> 
> No. preadfd() is not controlling Ctrl-D. preadfd() returning 0
> and preadbuffer() set PEOF for this.
> -1 is error, not EOF.


Ohh. I again lost synced...
Patch to current CVS version attached.


--w
vodz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: last_patch125
Url: http://lists.busybox.net/pipermail/busybox/attachments/20040201/a93c68da/attachment.diff 


More information about the busybox mailing list