Changeset ba3841e2 in mainline for uspace/lib/posix/src/dlfcn.c


Ignore:
Timestamp:
2018-04-15T18:28:04Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
363fe7e
Parents:
c1f44ca
Message:

libposix: get rid of dlopen() override

The trick we used to override libc's dlopen() doesn't work with
shared libraries. Since it's just an extra warning message, remove
it to avoid future headaches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/dlfcn.c

    rc1f44ca rba3841e2  
    3434#include "posix/dlfcn.h"
    3535
    36 _HIDE_LIBC_SYMBOL(dlopen);
    37 extern void *__helenos_libc_dlopen(const char *filename, int flags);
    38 
    39 void *dlopen(const char *filename, int flags)
    40 {
    41         if (flags != 0) {
    42                 fprintf(stderr, "dlopen() not implemented with non-zero flags (%s:%d), something will NOT work.\n", __FILE__, __LINE__);
    43         }
    44 
    45         return __helenos_libc_dlopen(filename, 0);
    46 }
    47 
    4836int dlclose(void *handle)
    4937{
Note: See TracChangeset for help on using the changeset viewer.