- Timestamp:
- Dec 16, 2019, 11:41:32 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3c67255
- Parents:
- d912bed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rd912bed r7006ba5 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Dec 13 23:47:06201913 // Update Count : 62 612 // Last Modified On : Mon Dec 16 17:55:53 2019 13 // Update Count : 627 14 14 // 15 15 … … 116 116 for ( int i = start; i < size - 2 && messages != nullptr; i += 1 ) { 117 117 char * mangled_name = nullptr, * offset_begin = nullptr, * offset_end = nullptr; 118 for ( char *p = messages[i]; *p; ++p ) { // find parantheses and +offset 118 119 for ( char * p = messages[i]; *p; p += 1 ) { // find parantheses and +offset 119 120 if ( *p == '(' ) { 120 121 mangled_name = p; … … 160 161 161 162 act.sa_sigaction = (void (*)(int, siginfo_t *, void *))handler; 162 sigemptyset( &act.sa_mask );163 sigaddset( &act.sa_mask, SIGALRM ); // disabled during signal handler164 sigaddset( &act.sa_mask, SIGUSR1 );165 163 act.sa_flags = flags; 166 164
Note: See TracChangeset
for help on using the changeset viewer.