Ignore:
Timestamp:
Feb 21, 2023, 4:24:34 PM (3 years ago)
Author:
caparson <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
257a8f5, ce44c5f
Parents:
1180175 (diff), 9a533ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/interpose_thread.cfa

    r1180175 r640b3df  
    3939        const char version[]
    4040) libcfa_public {
    41         const char * error;
    42 
    4341        static void * library;
    4442        if ( ! library ) {
    45                 #if defined( RTLD_NEXT )
    46                         library = RTLD_NEXT;
    47                 #else
    48                         // missing RTLD_NEXT => must hard-code library name, assuming libstdc++
    49                         library = dlopen( "libpthread.so", RTLD_LAZY );
    50                         error = dlerror();
    51                         if ( error ) {
    52                                 abort( "interpose_symbol : failed to open libpthread, %s\n", error );
    53                         }
    54                 #endif
     43                library = dlopen( "libpthread.so", RTLD_LAZY );
     44                const char * error = dlerror();
     45                if ( error ) {
     46                        abort( "interpose_symbol : failed to open libpthread, %s\n", error );
     47                }
    5548        } // if
    5649
Note: See TracChangeset for help on using the changeset viewer.