From 591b09c48ffef7e5aeaa28d1fb5181f8dbe66905 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Mon, 20 Jun 2016 15:14:32 -0400 Subject: [PATCH] Bash-4.3 patch 45 --- patchlevel.h | 2 +- redir.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/patchlevel.h b/patchlevel.h index 4b23f47..beea688 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 44 +#define PATCHLEVEL 45 #endif /* _PATCHLEVEL_H_ */ diff --git a/redir.c b/redir.c index a4a3bb7..e514976 100644 --- a/redir.c +++ b/redir.c @@ -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);