On 10/19/15 6:06 AM, Basin Ilya wrote: > Hi list. > An attempt to open a named pipe created with mkfifo cannot be > interrupted with SIGINT, if trap ... INT installed.
This was fixed back in January in the devel branch. I attached the minor patch. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/
*** bash-20150109/redir.c 2014-12-03 10:47:38.000000000 -0500 --- bash-20150116/redir.c 2015-01-16 10:15:47.000000000 -0500 *************** *** 675,679 **** e = errno; if (fd < 0 && e == EINTR) ! QUIT; errno = e; } --- 675,682 ---- e = errno; if (fd < 0 && e == EINTR) ! { ! QUIT; ! run_pending_traps (); ! } errno = e; }