Navigation


Changeset 9:fc7c18867cf7 in freeDiameter for freeDiameter/extensions.c


Ignore:
Timestamp:
Sep 24, 2009, 2:01:48 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

New extension mechanism committed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/extensions.c

    r8 r9  
    9797               
    9898                /* Load the extension */
     99#ifndef DEBUG
    99100                ext->handler = dlopen(ext->filename, RTLD_LAZY | RTLD_GLOBAL);
     101#else /* DEBUG */
     102                /* We resolve immediatly so it's easier to find problems in ABI */
     103                ext->handler = dlopen(ext->filename, RTLD_NOW | RTLD_GLOBAL);
     104#endif /* DEBUG */
    100105                if (ext->handler == NULL) {
    101106                        /* An error occured */
Note: See TracChangeset for help on using the changeset viewer.