Changeset dc0898 in git for Singular/cntrlc.cc
- Timestamp:
- Aug 2, 2000, 3:40:33 PM (23 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- ff4e84752079c82f72d2cff28527ed1b217ac9be
- Parents:
- e03066780716d0feba708e2349c879d0957c6ff2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/cntrlc.cc
re03066 rdc0898 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: cntrlc.cc,v 1.3 0 2000-05-18 08:31:10 SingularExp $ */4 /* $Id: cntrlc.cc,v 1.31 2000-08-02 13:40:28 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - interupt handling … … 23 23 #include "page.h" 24 24 #endif 25 25 26 26 27 /* undef, if you don't want GDB to come up on error */ … … 627 628 #endif 628 629 #endif 630 631 /* Under HPUX 9, system(...) returns -1 if SIGCHLD does not equal 632 SIG_DFL. However, if it stays at SIG_DFL we get zombie processes 633 for terminated childs generated by fork. Therefors some special treatment 634 is necessary */ 635 #ifdef HPUX_9 636 #undef system 637 extern "C" { 638 int hpux9_system(const char* call) 639 { 640 int ret; 641 signal(SIGCHLD, (void (*)(int))SIG_DFL); 642 ret = system(call); 643 signal(SIGCHLD, (void (*)(int))SIG_IGN); 644 return ret; 645 } 646 } 647 #endif /* HPUX_9 */
Note: See TracChangeset
for help on using the changeset viewer.