aboutsummaryrefslogtreecommitdiff
path: root/shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-05 12:28:39 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-05 12:28:39 +0000
commitef4cf984b66b43d8a4ec46e71dfc2fe8973b4a58 (patch)
treedefbfcd4c569770aa4ca59cd142519497a398be5 /shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c
parent898389dd865e7abd32973a7b433c694d06ef1d24 (diff)
downloadports-ef4cf984b66b43d8a4ec46e71dfc2fe8973b4a58.tar.gz
ports-ef4cf984b66b43d8a4ec46e71dfc2fe8973b4a58.zip
Notes
Diffstat (limited to 'shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c')
-rw-r--r--shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c b/shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c
new file mode 100644
index 000000000000..1fec0eb2ff96
--- /dev/null
+++ b/shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c
@@ -0,0 +1,10 @@
+--- src/cmd/ksh93/sh/jobs.c.orig 2010-12-02 00:57:47.000000000 +0800
++++ src/cmd/ksh93/sh/jobs.c 2011-10-05 10:52:30.844946545 +0800
+@@ -945,6 +945,7 @@
+ if(!(pw = job_bypid(pid)))
+ {
+ pw = &dummy;
++ pw->p_shp = sh_getinterp();
+ pw->p_pid = pid;
+ pw->p_pgrp = pid;
+ }