Home
last modified time | relevance | path

Searched refs:SH_NOFORK (Results 1 – 19 of 19) sorted by relevance

/dports/shells/ksh93/ast-93u/src/cmd/ksh93/sh/
H A Dsubshell.c613 if(!(sp->nofork = sh_state(SH_NOFORK))) in sh_subshell()
614 sh_onstate(SH_NOFORK); in sh_subshell()
615 flags |= sh_state(SH_NOFORK); in sh_subshell()
620 flags &= ~sh_state(SH_NOFORK); in sh_subshell()
653 sh_offstate(SH_NOFORK); in sh_subshell()
H A Dxec.c616 sh_exec(t,sh_isstate(SH_ERREXIT)|sh_isstate(SH_NOFORK)|(mode&~SH_FUNEVAL)); in sh_eval()
848 sh_exec(t,filt==1||filt==2?SH_NOFORK:0); in sh_coexec()
977 int execflg = (type&sh_state(SH_NOFORK)); in sh_exec()
1303 int was_nofork = execflg?sh_isstate(SH_NOFORK):0; in sh_exec()
1325 sh_onstate(SH_NOFORK); in sh_exec()
1428 sh_offstate(SH_NOFORK); in sh_exec()
1868 sh_exec(t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED)); in sh_exec()
1981 …(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK))) in sh_exec()
H A Dmain.c578 execflags |= sh_state(SH_NOFORK); in exfile()
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/sh/
H A Dsubshell.c613 if(!(sp->nofork = sh_state(SH_NOFORK))) in sh_subshell()
614 sh_onstate(SH_NOFORK); in sh_subshell()
615 flags |= sh_state(SH_NOFORK); in sh_subshell()
620 flags &= ~sh_state(SH_NOFORK); in sh_subshell()
653 sh_offstate(SH_NOFORK); in sh_subshell()
H A Dxec.c616 sh_exec(t,sh_isstate(SH_ERREXIT)|sh_isstate(SH_NOFORK)|(mode&~SH_FUNEVAL)); in sh_eval()
848 sh_exec(t,filt==1||filt==2?SH_NOFORK:0); in sh_coexec()
977 int execflg = (type&sh_state(SH_NOFORK)); in sh_exec()
1303 int was_nofork = execflg?sh_isstate(SH_NOFORK):0; in sh_exec()
1325 sh_onstate(SH_NOFORK); in sh_exec()
1428 sh_offstate(SH_NOFORK); in sh_exec()
1868 sh_exec(t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED)); in sh_exec()
1981 …(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK))) in sh_exec()
H A Dmain.c578 execflags |= sh_state(SH_NOFORK); in exfile()
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/sh/
H A Dsubshell.c573 sp->nofork = sh_isstate(shp, SH_NOFORK); in sh_subshell()
574 if (!sp->nofork) sh_onstate(shp, SH_NOFORK); in sh_subshell()
575 flags |= sh_state(SH_NOFORK); in sh_subshell()
578 flags &= ~sh_state(SH_NOFORK); in sh_subshell()
605 if (!sp->nofork) sh_offstate(shp, SH_NOFORK); in sh_subshell()
H A Dxec.c897 sh_exec(shp, t->fork.forktre, flags | sh_state(SH_NOFORK) | sh_state(SH_FORKED)); in forked_child()
920 int execflg = (type & sh_state(SH_NOFORK)); in sh_exec()
1188 int was_nofork = execflg ? sh_isstate(shp, SH_NOFORK) : 0; in sh_exec()
1209 if (execflg) sh_onstate(shp, SH_NOFORK); in sh_exec()
1323 if (execflg && !was_nofork) sh_offstate(shp, SH_NOFORK); in sh_exec()
1680 (flags & sh_state(SH_NOFORK))) { in sh_exec()
3052 if ((execflg & sh_state(SH_NOFORK))) shp->end_fn = 1; in sh_funscope()
3182 sh_isstate(shp, SH_ERREXIT) | sh_isstate(shp, SH_NOFORK) | (mode & ~SH_FUNEVAL)); in sh_eval()
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/sh/
H A Dsubshell.c627 if(!(sp->nofork = sh_state(SH_NOFORK))) in sh_subshell()
628 sh_onstate(shp,SH_NOFORK); in sh_subshell()
629 flags |= sh_state(SH_NOFORK); in sh_subshell()
634 flags &= ~sh_state(SH_NOFORK); in sh_subshell()
668 sh_offstate(shp,SH_NOFORK); in sh_subshell()
H A Dxec.c806 sh_exec(shp,t,filt==1||filt==2?SH_NOFORK:0); in sh_coexec()
935 int execflg = (type&sh_state(SH_NOFORK)); in sh_exec()
1291 int was_nofork = execflg?sh_isstate(shp,SH_NOFORK):0; in sh_exec()
1317 sh_onstate(shp,SH_NOFORK); in sh_exec()
1435 sh_offstate(shp,SH_NOFORK); in sh_exec()
1925 sh_exec(shp,t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED)); in sh_exec()
2054 …(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK))) in sh_exec()
4214 sh_exec(shp,t,sh_isstate(shp,SH_ERREXIT)|sh_isstate(shp,SH_NOFORK)|(mode&~SH_FUNEVAL)); in sh_eval_20120720()
H A Dmain.c607 execflags |= sh_state(SH_NOFORK); in exfile()
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/bltins/
H A Dsource.c155 sh_offstate(shp, SH_NOFORK); in b_source()
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/include/
H A Ddefs.h293 #define SH_NOFORK 0 /* set when fork not necessary */ macro
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/include/
H A Ddefs.h293 #define SH_NOFORK 0 /* set when fork not necessary */ macro
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/include/
H A Ddefs.h223 #define SH_NOFORK 0 // set when fork not necessary macro
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/include/
H A Ddefs.h310 #define SH_NOFORK 0 /* set when fork not necessary */ macro
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/bltins/
H A Dmisc.c294 sh_offstate(SH_NOFORK); in b_dot_cmd()
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/bltins/
H A Dmisc.c294 sh_offstate(shp,SH_NOFORK); in b_dot_cmd()
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/bltins/
H A Dmisc.c294 sh_offstate(SH_NOFORK); in b_dot_cmd()