components/ksh93/patches/235-19907453.patch
changeset 4268 d723f8ed85fe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ksh93/patches/235-19907453.patch	Sun May 10 11:59:46 2015 -0700
@@ -0,0 +1,14 @@
+This fix is from the community, details in the following location.
+http://lists.research.att.com/pipermail/ast-developers/2013q1/002323.html
+
+--- INIT.2011-02-08.old/src/cmd/ksh93/sh/fault.c	2014-10-29 12:41:23.239718243 -0700
++++ INIT.2011-02-08/src/cmd/ksh93/sh/fault.c	2014-10-29 14:03:09.196910448 -0700
+@@ -519,7 +519,7 @@ void sh_exit(register int xno)
+ 	if(pp && pp->mode>1)
+ 		cursig = -1;
+ #ifdef SIGTSTP
+-	if(shp->trapnote&SH_SIGTSTP)
++	if(shp->trapnote&SH_SIGTSTP && job.jobcontrol)
+ 	{
+ 		/* ^Z detected by the shell */
+ 		shp->trapnote = 0;