If a program gets the same signal twice in a single call to el_gets(), editline's internal signal handler is not used to the second one.
Fix: Apply the attached patch.
How-To-Repeat: I found this bug when testing CURRENT's BSD bc.
You can also reproduce the problem by inserting "printf" or "write" to libedit's sig_handler() and run ftp(1).
It is likely that this bug was fixed by r237448,=0Awhich merged some update=
s from NetBSD, among them=0ACVS 1.13:=0A=0Ain order for read() to return EI=
NTR we need to use sigaction, not signal,=0Aotherwise SA_RESTART is set.=0A=
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped