diff --git a/NEWS b/NEWS index d430fb986d2f..b529deaf6d98 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,9 @@ Any uppercase BUG_* names are modernish shell bug IDs. 7 will now move the cursor seven positions to the left. In vi control mode, this would be entered as: 7 . +- When a background job on an interactive shell received SIGINT or SIGPIPE, the + job termination message was empty. It now shows "Interrupt" or "Broken Pipe". + 2020-09-14: - Corrected rounding of floating point values by ksh's printf %f formatting diff --git a/src/cmd/ksh93/data/signals.c b/src/cmd/ksh93/data/signals.c index 43efc5f6ed50..4d27c45379a5 100644 --- a/src/cmd/ksh93/data/signals.c +++ b/src/cmd/ksh93/data/signals.c @@ -18,6 +18,7 @@ * * ***********************************************************************/ #include "defs.h" +#include "jobs.h" #if defined(SIGCLD) && !defined(SIGCHLD) # define SIGCHLD SIGCLD