Bash-4.3 patch 45

This commit is contained in:
Chet Ramey 2016-06-20 15:14:32 -04:00
commit 591b09c48f
2 changed files with 5 additions and 2 deletions

View file

@ -671,7 +671,10 @@ redir_open (filename, flags, mode, ri)
fd = open (filename, flags, mode);
e = errno;
if (fd < 0 && e == EINTR)
QUIT;
{
QUIT;
run_pending_traps ();
}
errno = e;
}
while (fd < 0 && errno == EINTR);