path: root/src/lib/evil/evil_dlfcn.c (unfollow)
AgeCommit message (Collapse)Author
2019-05-15Evil: move the inclusion of all headers in evil_private.hVincent Torri
Summary: first step for making Evil private. evil_private.h will be included in the EFL source code instead of Evil.h Test Plan: compilation Reviewers: raster, cedric, zmike Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
2017-12-11Evil: use static buffer to store error messagesVincent Torri
Reviewers: cedric, jpeg Differential Revision:
2016-03-14Evil: the addr argument of dladdr is acually usedVincent Torri
2015-12-29Evil: integrate the dlfcn code into EvilVincent Torri
This will remove some incompatibilities with other packages, especially for win-builds
2015-12-08Evil: fix infinite recursive loop in previous addition of setlocale() in EvilVincent Torri
Summary: setlocale() called itself because it was defined as a #define so remove this #define from evil_locale.h and move it in another header file To avoid future problem, move similar defines to this header file Also clean all the header file mess in Evil Reviewers: cedric Subscribers: jpeg Differential Revision:
2015-11-11evil: remove useless vc++ codeVincent Torri
vc++ is not supported anymore Signed-off-by: Cedric BAIL <>
2015-05-07evil: fix dladdr() implementation, add 2 unit tests for evil.Vincent Torri
@fix Signed-off-by: Cedric BAIL <>
2015-05-07evil: fix mem leak in dlsym() when using UNICODEVincent Torri
@fix Signed-off-by: Cedric BAIL <>
2015-05-07evil: minor formatting in dlfcn.cVincent Torri
Signed-off-by: Cedric BAIL <>
2014-07-13efl: remove Windows CE supportVincent Torri
2013-03-19efl: add macro to swap Windows and Unix path separators.Cedric Bail
2012-10-05merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.Vincent Torri
SVN revision: 77542
2012-09-11merge: add evil filesVincent Torri
SVN revision: 76464
2012-08-19Evil: less automake stuff, and remove warnings.Vincent Torri
currently, distcheck fails because I remove the .la files when installing (so actually, it's uninstall which fails). I'll fix that later. SVN revision: 75425
2012-02-17 * AUTHORS:Vincent Torri
* src/lib/Evil.h: * src/lib/ * src/lib/evil_inet.c: * src/lib/evil_mman.c: * src/lib/evil_stdio.c: * src/lib/evil_stdio.h: * src/lib/evil_stdlib.c: * src/lib/evil_util.c: * src/lib/sys/mman.h: * src/lib/evil_printa.c (added): * src/lib/evil_pformatw.c (added): * src/lib/evil_pformat.h (added): * src/lib/evil_printw.c (added): * src/lib/evil_print.h (added): * src/lib/evil_macro.h (added): * src/lib/evil_pformata.c (added): Add POSIX printf family. Code taken from the MinGW-w64 project and modified to be integrated into Evil. * src/bin/ * src/bin/evil_suite.c: * src/bin/evil_test_util.h (added): * src/bin/evil_test_print.c (added): * src/bin/evil_test_print.h (added): * src/bin/evil_test_util.c (added): Add util and printf unit tests * src/lib/evil_errno.c: * src/lib/errno.h (deleted): * src/lib/mingw32ce (added): * src/lib/mingw32ce/errno.h (added): Move errno.h for Windows CE in its own directory to suppress conflicts with standard errno.h when compiling for Windows XP. * src/lib/dlfcn/dlfcn.c: * src/lib/evil_link_ce.c: * src/lib/evil_main.c: * src/lib/evil_unistd.c: Define WIN32_LEAN_AND_MEAN only if it's not defined. * src/lib/evil_fcntl.c: Remove debug. * src/bin/evil_test_dlfcn.c: * src/bin/evil_test_environment.c: * src/bin/evil_test_gettimeofday.c: * src/bin/evil_test_link.c: * src/bin/evil_test_mkstemp.c: * src/bin/evil_test_pipe.c: * src/bin/evil_test_realpath.c: Remove warnings. * src/lib/evil_link_xp.cpp: Formatting. SVN revision: 68084
2011-10-05Evil: add RTLD_DEFAULT support in dlsym() on Windows CEVincent Torri
SVN revision: 63847
2011-10-05fix warning when in UNICODE string formatVincent Torri
SVN revision: 63845
2011-09-14Evil: add RTLD_DEFAULT support for dlsym()Vincent Torri
SVN revision: 63373
2011-05-19Evil:Vincent Torri
* src/lib/dlfcn/dlfcn.c: change '/' to '\' in paths * src/lib/evil_inet.c: * src/lib/evil_inet.h: * src/lib/Evil.h: * src/lib/ * AUTHORS: add inet_pton() function. Implementation from curl library. See AUTHORS. SVN revision: 59530
2010-03-12 * src/lib/ Torri
* src/lib/evil_time.c (deleted): remove evil_time.c as tzset is defined with mingw and as _tzset is defined with vc++ * src/lib/Evil.h: * src/lib/dlfcn/dlfcn.c: * src/lib/dlfcn/dlfcn.h: remove __CEGCC__ occurences SVN revision: 47150
2010-01-19 * src/lib/dlfcn/dlfcn.c:Vincent Torri
Fix dladdr() on Windows CE: use the calling process address to get the path. SVN revision: 45325
2009-09-26Improve the implementation of dladdr on Windows. As the symbols are in the ↵Vincent Torri
DLL's and as the DLL's are in the bin/ subdirectory, installers must put the eina mempools and evas modules directories in the bin/ subdirectory SVN revision: 42734
2009-08-27 * src/lib/dlfcn/dlfcn.c:Vincent Torri
fix warnings * src/lib/evil_fnmatch_list_of_states.c: fix vc++ warning * win32/MANIFEST.txt: * win32/README.txt: * win32/start.bat: * win32/vs9/evil.sln: * win32/vs9/libdlfcn.vcproj: * win32/vs9/libevil.vcproj: * win32/vs9/test/out/update_deps.bat: * win32/vs9/test/start.bat: * win32/vs9/test/test.sln: * win32/vs9/test/test.vcproj: * win32/vs9/test/test_fnmatch.cpp: * win32/vs9 (added): * win32/vs9/test (added): * win32/vs9/test/test_fnmatch.cpp (added): * win32/vs9/test/test.vcproj (added): * win32/vs9/test/start.bat (added): * win32/vs9/test/out (added): * win32/vs9/test/out/update_deps.bat (added): * win32/vs9/test/test.sln (added): * win32/vs9/libdlfcn.vcproj (added): * win32/vs9/libevil.vcproj (added): * win32/vs9/evil.sln (added): * win32/start.bat (added): * win32/vs8/libmman.vcproj (deleted): * win32/vs8/start.bat (deleted): * win32/set_env.bat (deleted): update the Visual Studio environment. Now, there is only one script to launch (start.bat) in win32/. It detects automatically the latest Visual Studio environment which is installed and launch the solution. Currently supported VS are 2005 and 2008. SVN revision: 42029
2008-11-01 * Torri
formatting * src/lib/dlfcn/dlfcn.c: * src/lib/dlfcn/dlfcn.h: fix dladdr declaration SVN revision: 37370
2008-10-21 * m4/ac_attribute.m4:Vincent Torri
use newer file from PROTO/autotools * src/lib/dlfcn/dlfcn.c: * src/lib/evil_mman.c: no need to define __UNUSED__ anymore with the new m4 macro * src/lib/ * src/lib/evil.c: remove useless file SVN revision: 36921
2008-06-08* src/lib/Evil.h:doursse
* src/lib/evil.c: (evil_last_error_get): add evil_last_error_get() function to get useful error string creation. * src/lib/dlfcn/dlfcn.c: (get_last_error), (dlopen), (dlsym), (dladdr): use UNICODE check instead of compiler checks when needed. use evil_last_error_get() * src/lib/mman/mman.c: (mmap), (munmap): file mapping does not work on Windows CE < 5.0. if it is the case, just read the file and return the data. use evil_last_error_get() * src/lib/mman/ * src/lib/ add libevil dependancy SVN revision: 34775
2008-06-07* src/lib/Evil.h:doursse
include windows.h instead of windef.h undefine PATH_MATH before defining it * src/lib/dlfcn/dlfcn.c: remove useless header file SVN revision: 34763
2008-06-06* src/lib/Evil.h:doursse
add PATH_MAX macro * src/lib/dlfcn/dlfcn.c: (get_last_error): free correctly strings SVN revision: 34760
2008-06-01* src/lib/dlfcn/dlfcn.c:doursse
memory leak with cegcc * src/lib/dlfcn/dlfcn.h: include limits.h for MinGW users * src/lib/mman/sys/mman.h: add MAP_FAILED error value SVN revision: 34717
2008-05-09* src/lib/dlfcn/dlfcn.c: (dladdr):doursse
replace all the '\' by '/' in the filename found by dladdr SVN revision: 34518
2008-04-28* src/lib/Evil.h:doursse
* src/lib/evil.c: (evil_getcwd): add getgwd-like function * src/lib/dlfcn/dlfcn.c: (dladdr): * src/lib/dlfcn/dlfcn.h: add dladdr-like function. Formatting Remove unused define * src/lib/mman/sys/mman.h: remove unused define SVN revision: 34392
2008-04-26reviewed by: <delete if not using a buddy>doursse
* src/lib/Evil.h: * src/lib/ * src/lib/dlfcn/ * src/lib/dlfcn/dlfcn.c: (get_last_error), (dlopen), (dlsym): * src/lib/evil.c: (evil_char_to_wchar), (evil_wchar_to_char): * src/lib/mman/ * src/lib/mman/mman.c: SVN revision: 34374
* src/bin/ * src/lib/ * src/lib/dlfcn/ * src/lib/mman/ use -Wl,--enable-auto-import with cegcc fix warning with newest autoconf * src/lib/dlfcn/dlfcn.c: (string_to_wchar): include wchar.h and fix warnings * src/lib/mman/mman.c: use relative path to include sys/mman.h SVN revision: 34348
2008-03-28* src/lib/Evil.h:doursse
remove the stat structure and add guards * src/lib/dlfcn/dlfcn.c: include limits.h also for the cegcc compiler SVN revision: 34129
2008-03-13Fix dlopen for cegcc and minor fix and doc:doursse
* INSTALL: * README: additional notes for compilations with cegcc or mingw32ce * use 'win32' instead of 'cegcc' or 'mingw' * src/lib/dlfcn/dlfcn.c (dlopen): cegcc does not support LOAD_WITH_ALTERED_SEARCH_PATH. Use LoadLibrary instead of LoadLibraryEx in that case. SVN revision: 34014
2008-03-05fix compilation with cegcc and minor fixingdoursse
* COPYING: copyright update * * src/lib/Evil.h: * src/lib/dlfcn/dlfcn.h: * src/lib/mman/sys/mman.h: define EFL_EVIL_BUILD in config.h for managing correctly EAPI * src/bin/test_pipe.c: stdio.h is needed after winsock2.h for mingw32ce * src/lib/dlfcn/dlfcn.c (get_last_error), (dlopen), (dlsym): * src/lib/evil.c: fix some heafer files inclusion on cegc platform. first step of mingw32ce support * src/lib/mman/mman.c: define _get_osfhandle for mingw32ce SVN revision: 33934
2008-02-27Here is the Evil library, which provides, for the Windows platform (XP or ↵doursse
Mobile), a set of Unix functions used in the EFL and which do not exist on that evil platform SVN revision: 33862