Changeset ffc237 in git
- Timestamp:
- Sep 13, 2010, 10:36:30 AM (14 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
- Children:
- 4082e84530b5196a4f22c2d0872863e711afb239
- Parents:
- 200e65d0b5196ecb3020dc53a5e6852670566654
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/cntrlc.cc
r200e65d rffc237 27 27 #include <Singular/feOpt.h> 28 28 #include <Singular/version.h> 29 #include <Singular/silink.h> 29 30 30 31 /* undef, if you don't want GDB to come up on error */ … … 220 221 } 221 222 223 si_link pipeLastLink=NULL; 224 225 void sig_pipe_hdl(int sig) 226 { 227 if (pipeLastLink!=NULL) 228 { 229 slClose(pipeLastLink); 230 pipeLastLink=NULL; 231 WerrorS("pipe failed"); 232 } 233 } 234 222 235 /*2 223 236 * init signal handlers, linux/i386 version … … 247 260 } 248 261 si_set_signal(SIGCHLD, (si_hdl_typ)sig_ign_hdl); 262 si_set_signal(SIGPIPE, (si_hdl_typ)sig_pipe_hdl); 249 263 } 250 264
Note: See TracChangeset
for help on using the changeset viewer.