Changeset 3506 in kBuild
- Timestamp:
- Dec 15, 2021 10:54:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shinstance.c
r3480 r3506 399 399 400 400 /* input.h/c */ 401 popallfiles(psh); 402 while (psh->basepf.strpush) 403 popstring(psh); 401 if (psh->parsefile != NULL) 402 { 403 popallfiles(psh); 404 while (psh->basepf.strpush) 405 popstring(psh); 406 } 404 407 405 408 /* jobs.h/c */ … … 1004 1007 /* fprintf(stderr, "sh_sig_common_handler: signo=%d:%s\n", signo, sys_signame[signo]); */ 1005 1008 1009 #ifdef _MSC_VER 1010 /* We're treating SIGBREAK as if it was SIGINT for now: */ 1011 if (signo == SIGBREAK) 1012 signo = SIGINT; 1013 #endif 1014 1006 1015 /* 1007 1016 * No need to take locks if there is only one shell. … … 1114 1123 signo, sys_signame[signo], g_sig_state[signo].sa.sa_handler, g_sig_state[signo].sa.sa_flags)); 1115 1124 #ifdef _MSC_VER 1125 /* Throw SIGBREAK in with SIGINT for now. */ 1126 if (signo == SIGINT) 1127 signal(SIGBREAK, g_sig_state[signo].sa.sa_handler); 1128 1116 1129 if (signal(signo, g_sig_state[signo].sa.sa_handler) == SIG_ERR) 1117 1130 {
Note:
See TracChangeset
for help on using the changeset viewer.