Lines Matching refs:sh
280 sh.st.otrapcom = 0;
283 else if(!((flag=sh.sigflag[sig])&(SH_SIGFAULT|SH_SIGOFF)))
298 sh.sigflag[sig] = flag;
308 sh.sigflag[0] |= SH_SIGFAULT;
311 flag = sh.sigflag[sig];
325 register int flag, sig=sh.st.trapmax;
328 if(trap=sh.st.trapcom[sig])
330 flag = sh.sigflag[sig]&~(SH_SIGTRAP|SH_SIGSET);
335 sh.st.trapcom[sig] = 0;
344 sh.sigflag[sig] = flag;
349 if(trap=sh.st.trap[sig])
353 sh.st.trap[sig] = 0;
357 sh.st.trapcom[0] = 0;
359 sh.st.trapmax = 0;
360 sh.trapnote=0;
368 register int flag = sh.sigflag[sig];
370 sh.st.otrapcom=0;
374 if(trap=sh.st.trapcom[sig])
376 if(!sh.subshell)
378 sh.st.trapcom[sig]=0;
380 sh.sigflag[sig] = flag;