dlfcn.c


Log

Author Commit Date CI Message
Jean-Damien Durand d26298df 2018-01-17T10:02:39 #include <stdlib.h>
Silvio 5bcd8c53 2017-05-01T11:03:01 Fix bug in dlerror second consecutive call According to the specs, a second consecutive call to dlerror should always return NULL . This was the case in dlfcn-win32 before https://github.com/dlfcn-win32/dlfcn-win32/pull/20 introduce a regression that caused dlerror to crash on the second consecutive call. In this commit the issue is fixed as suggested in https://github.com/dlfcn-win32/dlfcn-win32/issues/34 and a regression test has been added.
Guohui Wang aa1401bf 2015-04-09T03:30:39 Added support for unicode character set.
Timothy Gu 98cc37be 2015-03-15T19:07:44 Add my copyright Not that I care…
Timothy Gu c5501073 2015-03-15T17:32:10 Warning control in MSVC
Timothy Gu f5e9a16f 2015-03-15T17:21:34 Use SHARED macro to handle DLL export (Originally the SHARED macro is created not to handle this case, but it seems like it works fine for this purpose as well.) Closes #12.
Timothy Gu dd4254a3 2014-10-08T15:50:21 Add linked modules to a separate global list Fixes #2.
Timothy Gu c421b701 2015-03-15T16:09:44 Check for memory leak when _DEBUG is defined
Dennis Nienhüser 83432ba2 2015-03-11T20:00:11 Add import/export symbols for MSVC. This results in an import .lib file. Closes #4. Some fixes by Timothy Gu <timothygu99@gmail.com> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Timothy Gu 87f5cd06 2015-03-11T19:48:56 Use more secure sprintf_s()
Timothy Gu 346543d6 2014-02-10T03:05:45 License stuff
Timothy Gu 539e732b 2014-01-22T04:12:43 Fix error checking in copy_string()
Timothy Gu b9be226f 2014-01-20T16:36:17 Remove extraneous CloseHandle Fixes issue 13.
Ramiro Polla 5976daa8 2009-01-11T21:59:46 Clear ->next after creating nobject.
Ramiro Polla 74b330c1 2008-12-09T21:17:44 Rename save_err_ptr( ) to save_err_ptr_str( ) to avoid confusion. Based on patch by Dan DuVarney.
Ramiro Polla 23e6a482 2008-12-09T21:14:31 Fix bug reported by Dan DuVarney, based on a patch by himself. POSIX says: If no dynamic linking errors have occurred since the last invocation of dlerror(), dlerror() shall return NULL. The code was returning an empty string. The way dlerror( ) returns the error string has been changed.
Ramiro Polla 66a5baf7 2007-06-29T23:42:51 Use double linked list instead of static array of 255 global objects.
Ramiro Polla 40f1a4cc 2007-06-29T22:42:58 Take care of our own error messages
Ramiro Polla 649282b7 2007-06-29T22:13:50 Fix copy_string( )
Ramiro Polla 85d184f7 2007-06-29T20:36:07 Cosmetics: white space
Ramiro Polla 4c4b268c 2007-06-28T05:50:08 Initial Revision