Changeset a5da6f in git for Singular/cntrlc.cc
- Timestamp:
- Sep 10, 2008, 11:33:58 AM (15 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 8997418a77f1f100f2d81472256f182b921bcaa6
- Parents:
- 0ec43aa4fa51ba4c252139582250a242e5dffa42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/cntrlc.cc
r0ec43a ra5da6f 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: cntrlc.cc,v 1.5 7 2008-09-10 09:21:29Singular Exp $ */4 /* $Id: cntrlc.cc,v 1.58 2008-09-10 09:33:58 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - interupt handling … … 61 61 #ifdef CALL_GDB 62 62 static void debug (int); 63 static void debug_stop (char * const*args);63 static void debug_stop (char *const*args); 64 64 #endif 65 65 #ifndef __OPTIMIZE__ 66 66 static void stack_trace_sigchld (int); 67 static void stack_trace (char * const*args);67 static void stack_trace (char *const*args); 68 68 #endif 69 69 #endif … … 428 428 int pid; 429 429 char buf[16]; 430 c onst char * args[4] = { "gdb","Singularg", NULL, NULL };430 char * args[4] = { (char*)"gdb", (char*)"Singularg", NULL, NULL }; 431 431 432 432 #ifdef HAVE_FEREAD … … 468 468 } 469 469 470 static void debug_stop (char * const*args)470 static void debug_stop (char *const*args) 471 471 { 472 472 execvp (args[0], args); … … 478 478 static int stack_trace_done; 479 479 480 static void stack_trace (char * const*args)480 static void stack_trace (char *const*args) 481 481 { 482 482 int pid;
Note: See TracChangeset
for help on using the changeset viewer.