Changes in src/libcfa/interpose.c [c2b9f21:6a5be52]
- File:
-
- 1 edited
-
src/libcfa/interpose.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/interpose.c
rc2b9f21 r6a5be52 24 24 } 25 25 26 #include " bits/debug.h"27 #include " bits/defs.h"26 #include "libhdr/libdebug.h" 27 #include "libhdr/libtools.h" 28 28 #include "startup.h" 29 29 … … 69 69 __typeof__( exit ) libc_exit __attribute__(( noreturn )); 70 70 __typeof__( abort ) libc_abort __attribute__(( noreturn )); 71 72 // #define INIT_REALRTN( x, ver ) libc_##x = (__typeof__(libc_##x))interpose_symbol( #x, ver ) 71 73 72 74 forall(dtype T) … … 125 127 va_end( args ); 126 128 127 __ cfaabi_dbg_bits_write( abort_text, len );128 __ cfaabi_dbg_bits_write( "\n", 1 );129 __lib_debug_write( abort_text, len ); 130 __lib_debug_write( "\n", 1 ); 129 131 } 130 132 131 133 len = snprintf( abort_text, abort_text_size, "Cforall Runtime error (UNIX pid:%ld)\n", (long int)getpid() ); // use UNIX pid (versus getPid) 132 __ cfaabi_dbg_bits_write( abort_text, len );134 __lib_debug_write( abort_text, len ); 133 135 134 136
Note:
See TracChangeset
for help on using the changeset viewer.