Lines Matching refs:trapcom
956 type = (execflg && !shp->subshell && !shp->st.trapcom[0]);
999 !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && shp->fn_depth==0 && !nv_isattr(np,BLT_ENV))
1176 !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] &&
1455 if(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK)))
1461 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0])
1464 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig);
2616 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0])
2619 memcpy(savstak=stakalloc(nsig),(char*)&shp->st.trapcom[0],nsig);
2661 trap = shp->st.trapcom[0];
2662 shp->st.trapcom[0] = 0;
2670 memcpy((char*)&shp->st.trapcom[0],savstak,nsig);
2968 if((trap=sh.st.trapcom[sig]) && *trap==0)