[BusyBox] ash - signal handling problem?

Vladimir N. Oleynik dzo at simtreas.ru
Sun Feb 1 11:07:09 UTC 2004


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.


--w
vodz




More information about the busybox mailing list