SCCS-vsn: bin/csh/csh.c 5.32
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)csh.c 5.31 (Berkeley) %G%";
+static char sccsid[] = "@(#)csh.c 5.32 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
/* Will have value(STRhome) here because set fast if don't */
{
int osetintr = setintr;
/* Will have value(STRhome) here because set fast if don't */
{
int osetintr = setintr;
+ sig_t oparintr = parintr;
sigset_t omask = sigblock(sigmask(SIGINT));
setintr = 0;
sigset_t omask = sigblock(sigmask(SIGINT));
setintr = 0;
+ parintr = SIG_IGN; /* Disable onintr */
#ifdef _PATH_DOTCSHRC
(void) srcfile(_PATH_DOTCSHRC, 0, 0);
#endif
#ifdef _PATH_DOTCSHRC
(void) srcfile(_PATH_DOTCSHRC, 0, 0);
#endif
#endif
(void) sigsetmask(omask);
setintr = osetintr;
#endif
(void) sigsetmask(omask);
setintr = osetintr;
}
(void) srccat(value(STRhome), STRsldotcshrc);
}
(void) srccat(value(STRhome), STRsldotcshrc);