Blame SOURCES/ksh-20120801-fununset.patch

dc1902
diff -up ksh-20120801/src/cmd/ksh93/sh/xec.c.fununset ksh-20120801/src/cmd/ksh93/sh/xec.c
dc1902
--- ksh-20120801/src/cmd/ksh93/sh/xec.c.fununset	2014-06-16 14:21:09.293513844 +0200
dc1902
+++ ksh-20120801/src/cmd/ksh93/sh/xec.c	2014-06-16 14:21:09.309513760 +0200
dc1902
@@ -3570,7 +3570,7 @@ static void sh_funct(Shell_t *shp,Namval
dc1902
 #endif
dc1902
 	nv_putval(SH_PATHNAMENOD,shp->st.filename,NV_NOFREE);
dc1902
 	shp->pipepid = pipepid;
dc1902
-	np->nvalue.rp->running  -= 2;
dc1902
+	if (np->nvalue.rp) np->nvalue.rp->running  -= 2;
dc1902
 }
dc1902
 
dc1902
 /*