Searched refs:curenv (Results 1 – 4 of 4) sorted by relevance
191 int curenv = shp->curenv; in sh_subfork() local199 shp->curenv = 0; in sh_subfork()202 shp->curenv = curenv; in sh_subfork()386 if(!sp || sh.curenv==0) in sh_subaliastree()404 if(!sp || sh.curenv==0) in sh_subfuntree()475 int savecurenv = shp->curenv; in sh_subshell()486 if(shp->curenv==0) in sh_subshell()491 shp->curenv = ++subenv; in sh_subshell()682 shp->curenv = savecurenv; in sh_subshell()
1136 sh.jobenv = sh.curenv; in job_post()1187 pw->p_env = sh.curenv; in job_post()1325 else if(intr && pw->p_env!=sh.curenv) in job_wait()1813 if(pw->p_env != sh.curenv || pw->p_pid==sh.pipepid) in job_subrestore()
1398 shp->curenv = 0; in sh_reinit()
132 short curenv; /* current subshell number */ \