summaryrefslogtreecommitdiff
path: root/dso
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaces in *.c.ivan2022-11-207-39/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
* Stage 3 in dismantling _WIN32_WCE ... cleanup codemturk2021-12-021-27/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895508 13f79535-47bb-0310-9956-ffa450edef68
* ucs2 is a legacy name, the correct encoding nameswrowe2019-10-291-3/+3
| | | | | | | | | | | | | | | | are now utf-8, utf-16, and utf-32, so we rename; apr_conv_utf8_to_ucs2 -> apr_conv_utf8_to_utf16 apr_conv_ucs2_to_utf8 -> apr_conv_utf16_to_utf8 This patch notices an error message printing of an internal password, which will no longer be echoed to the error stream. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1869127 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1859519.ivan2019-05-261-1/+1
| | | | | | | | * dso/win32/dso.c (apr_dso_load): Use DWORD instead of UINT for old error mode. The have same size, but it's better to use same type as API function (SetThreadErrorMode) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1860052 13f79535-47bb-0310-9956-ffa450edef68
* * dso/win32/dso.civan2019-05-191-2/+5
| | | | | | | (apr_dso_load): Use SetThreadErrorMode() instead of SetErrorMode(), because SetErrorMode() is not thread-safe. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1859519 13f79535-47bb-0310-9956-ffa450edef68
* win32: Remove non-unicode codepath from apr_dso_load().ivan2019-05-191-52/+21
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1859518 13f79535-47bb-0310-9956-ffa450edef68
* win32: Use LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR flag for LoadLibraryExW inivan2019-05-151-10/+4
| | | | | | | apr_dso() instead of calling SetDllDirectory(). SetDllDirectory() changes global state and using it may lead to security issues on race conditions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1859265 13f79535-47bb-0310-9956-ffa450edef68
* Fix copy/paste typomturk2009-02-171-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@745112 13f79535-47bb-0310-9956-ffa450edef68
* Use SetDllDirectory if supported by OS in case dependent .dll's are in the ↵mturk2009-02-171-1/+17
| | | | | | same path as loading .dll, but that path is not inside the system PATH. Instead failing try to reload with the .dll path hoping all dependencies can be resolved there git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@744978 13f79535-47bb-0310-9956-ffa450edef68
* Avoid strict aliasing warnings on HP-UX.bojan2008-06-181-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@669082 13f79535-47bb-0310-9956-ffa450edef68
* z/OS: return standard apr_status_t codes from apr_dso_load()trawick2007-12-081-2/+2
| | | | | | | | | | and apr_dso_sym(). Submitted by: David Jones <oscaremma gmail.com> Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@602460 13f79535-47bb-0310-9956-ffa450edef68
* Fix DSO-related crash on z/OS caused by incorrect memorytrawick2007-11-081-1/+1
| | | | | | | | | | allocation. Submitted by: David Jones <oscaremma gmail.com> Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@593166 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.jorton2006-08-037-7/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.jorton2006-08-037-42/+42
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-047-7/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* Add Support for DragonFly BSD.pquerna2005-01-211-1/+2
| | | | | | | | PR: #29858 Submitted By: Jeroen Ruigrok <asmodai tendra.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125880 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.jorton2004-11-185-20/+0
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@76269 13f79535-47bb-0310-9956-ffa450edef68
* Fix an include path.dreid2004-03-091-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64951 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0jerenkrantz2004-02-137-343/+70
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* First whack at switching to a single top-level make. This adds a dependencygstein2004-02-055-69/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upon Python at packaging time, but not at end-user config/build time. As far as I can tell, the build continues to function properly. (out-of-dir config/make not tested, and apr-iconv prolly needs some work) The buildconf scripts now generate a build-outputs.mk file which is included by the root's Makefile (via the build/gen-build.py script). bulid-outputs.mk specifies all of the various files present in the distribution. The top-level Makefiles were simplified to use an $(OBJECTS) symbol rather than 'find'ing them. Similarly, a $(HEADERS) symbol is used for the exports. The corresponding delete-* targets were eliminated since we have a precise set of inputs. The subdirs' Makefiles were removed since they are no longer called/used. The apr-util/uri Makefile was responsible for compiling a C program to generate the uri_delims.h file. That process was replaced by a Python script to generate the header (called by buildconf). The .c and .dsp were left for the Windows build to continue, but that should be revamped. build/apr_rules.mk was revamped somewhat to avoid recursion, but a lot of cleanup is still needed. Much of the recursive/local/x- logic is no longer needed and can be elimianated. rules.mk was created for inclusion by N makefiles, but that isn't really true any more, so it could probably be tossed (caveat: test/Makefile). Saved for a phase 2. Some additional work was added to properly clean up files in */build/, rather than relying on a makefile in there. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64891 13f79535-47bb-0310-9956-ffa450edef68
* Modify the beos dso code to always return a structure, adding the errormsgdreid2003-11-231-5/+8
| | | | | | | field as this seems to be the raison'd'etre for returning the structure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64792 13f79535-47bb-0310-9956-ffa450edef68
* fix a typo in a commenttrawick2003-02-181-1/+1
| | | | | | | Submitted by: jmc <jmc@prioris.mini.pw.edu.pl> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64365 13f79535-47bb-0310-9956-ffa450edef68
* After some less than considerable discussion on-list, it seems like therewrowe2003-02-161-1/+1
| | | | | | | | | are no compelling arguments to retain the 'BIND_NOSTART' option on HP/UX, and several compelling reasons to drop it, including c++ static creators and possibly even some cases of c static initialization. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64357 13f79535-47bb-0310-9956-ffa450edef68
* Normalize the path before trying to load the module.bnicholes2003-01-071-2/+11
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64276 13f79535-47bb-0310-9956-ffa450edef68
* rename apr_arch_fileio.h to apr_arch_file_io.h for consistencythommay2003-01-071-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64275 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protection for include/arch/ header filesthommay2003-01-067-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aix/dso.h -> -> aix/apr_arch_dso.h beos/dso.h -> beos/apr_arch_dso.h beos/proc_mutex.h -> beos/apr_arch_proc_mutex.h beos/thread_cond.h -> beos/apr_arch_thread_cond.h beos/thread_mutex.h -> beos/apr_arch_thread_mutex.h beos/threadproc.h -> beos/apr_arch_threadproc.h beos/thread_rwlock.h -> beos/apr_arch_thread_rwlock.h netware/dso.h -> -> netware/apr_arch_dso.h netware/fileio.h -> -> netware/apr_arch_fileio.h netware/global_mutex.h -> netware/apr_arch_global_mutex.h netware/internal_time.h -> netware/apr_arch_internal_time.h netware/networkio.h -> netware/apr_arch_networkio.h netware/pre_nw.h -> netware/apr_arch_pre_nw.h netware/proc_mutex.h -> netware/apr_arch_proc_mutex.h netware/thread_cond.h -> netware/apr_arch_thread_cond.h netware/thread_mutex.h -> netware/apr_arch_thread_mutex.h netware/threadproc.h -> netware/apr_arch_threadproc.h netware/thread_rwlock.h -> netware/apr_arch_thread_rwlock.h os2/dso.h -> os2/apr_arch_dso.h os2/fileio.h -> os2/apr_arch_fileio.h os2/networkio.h -> os2/apr_arch_networkio.h os2/os2calls.h -> os2/apr_arch_os2calls.h os2/proc_mutex.h -> os2/apr_arch_proc_mutex.h os2/thread_cond.h -> os2/apr_arch_thread_cond.h os2/thread_mutex.h -> os2/apr_arch_thread_mutex.h os2/threadproc.h -> os2/apr_arch_threadproc.h os2/thread_rwlock.h -> os2/apr_arch_thread_rwlock.h os390/dso.h -> os390/apr_arch_dso.h unix/dso.h -> unix/apr_arch_dso.h unix/fileio.h -> unix/apr_arch_fileio.h unix/global_mutex.h -> unix/apr_arch_global_mutex.h unix/inherit.h -> unix/apr_arch_inherit.h unix/internal_time.h -> unix/apr_arch_internal_time.h unix/misc.h -> unix/apr_arch_misc.h unix/networkio.h -> unix/apr_arch_networkio.h unix/proc_mutex.h -> unix/apr_arch_proc_mutex.h unix/shm.h -> unix/apr_arch_shm.h unix/thread_cond.h -> unix/apr_arch_thread_cond.h unix/thread_mutex.h -> unix/apr_arch_thread_mutex.h unix/threadproc.h -> unix/apr_arch_threadproc.h unix/thread_rwlock.h -> unix/apr_arch_thread_rwlock.h win32/atime.h -> win32/apr_arch_atime.h win32/dso.h -> win32/apr_arch_dso.h win32/fileio.h -> win32/apr_arch_fileio.h win32/inherit.h -> win32/apr_arch_inherit.h win32/misc.h -> win32/apr_arch_misc.h win32/networkio.h -> win32/apr_arch_networkio.h win32/proc_mutex.h -> win32/apr_arch_proc_mutex.h win32/thread_cond.h -> win32/apr_arch_thread_cond.h win32/thread_mutex.h -> win32/apr_arch_thread_mutex.h win32/threadproc.h -> win32/apr_arch_threadproc.h win32/thread_rwlock.h -> win32/apr_arch_thread_rwlock.h win32/utf8.h -> win32/apr_arch_utf8.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64271 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-017-7/+7
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* standardize on a couple of easy to test for error codes for DSO errors.rbb2002-12-295-11/+11
| | | | | | | This doesn't work fully on Windows yet, that is the next commit. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64233 13f79535-47bb-0310-9956-ffa450edef68
* Don't pass BIND_VERBOSE to shl_load(), else it dumps errors to stderrjorton2002-12-111-1/+1
| | | | | | | by default. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64143 13f79535-47bb-0310-9956-ffa450edef68
* Prepare to eliminate a platform specificwrowe2002-10-131-3/+3
| | | | | | | | | #define APR_OS2_STATUS(e) (APR_FROM_OS_ERROR(e)) for the platform agnostic APR_FROM_OS_ERROR() macro. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63909 13f79535-47bb-0310-9956-ffa450edef68
* When encountering a link error when loading a DSO on Darwin, print the error.jerenkrantz2002-09-131-1/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63863 13f79535-47bb-0310-9956-ffa450edef68
* Move the win32-only utf8 support [for the Unicode filesystem] out ofwrowe2002-07-171-1/+1
| | | | | | | the i18n/unix tree. Never built it there anyways. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63695 13f79535-47bb-0310-9956-ffa450edef68
* Correct shared library support on Darwin to not fatally error out whenjerenkrantz2002-06-241-2/+7
| | | | | | | | | | | | | | | | | a shared library does not exist. This does retain the Mach-O bundle and Mach-O dynamically linked shared library support on Darwin. Also improvements relating to testdso: - Get testdso to actually link. - Add support for a second DSO to load in testdso. - Build mod_test.slo and libmod_test.slo with and without the -module option. This checks that both types of dynamic libraries can be loaded. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63521 13f79535-47bb-0310-9956-ffa450edef68
* NEVER default to ALTERNATE_SEARCH_PATH!!! It's a great last resort,wrowe2002-05-201-2/+2
| | | | | | | | but a lousy first choice. Provided that httpd was mislocating libapr, ssleay32, etc, from the wrong locations. Still, it's a good fail-over. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63417 13f79535-47bb-0310-9956-ffa450edef68
* OK. This is admittedly anal. But the whole idea behind cpp macrosjim2002-05-021-2/+3
| | | | | | | | | | | | | | is to avoid things like "we know NSLINKMODULE_OPTION_NONE is 0" and making such shortcuts as this. This makes it clear what exactly we are setting, and though admittedly verbose, the tradeoff of a few bytes of source is worth it :) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63347 13f79535-47bb-0310-9956-ffa450edef68
* Minor formattingjim2002-05-011-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63344 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile breakagejim2002-05-011-2/+2
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63342 13f79535-47bb-0310-9956-ffa450edef68
* Or'ing NSLINKMODULE_OPTION_NONE is verbose.wsanchez2002-05-011-11/+3
| | | | | | | Darwin comment is true on all platforms. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63341 13f79535-47bb-0310-9956-ffa450edef68
* To support modules like PHP, which implement their ownjim2002-04-221-3/+9
| | | | | | | | | | | | | | loaded extensions, Darwin needs to place their public symbols in the global table. In Rhapsody, we simply set bindNow to False to achieve the same goal. PR: Obtained from: Submitted by: Marko Karppinen <markonen@php.net> Reviewed by: Jim Jagielski, Fred Sanchez git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63294 13f79535-47bb-0310-9956-ffa450edef68
* Add .deps to cvsignore since APR may now generate .deps files.jerenkrantz2002-04-225-0/+5
| | | | | | | (somehow CVS ignored updating these on the last commit.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63287 13f79535-47bb-0310-9956-ffa450edef68
* Allow VPATH builds to properly generate build dependencies. This requiresjerenkrantz2002-04-225-0/+10
| | | | | | | | | | | | srcdir to always be available in a Makefile, so we need to stop adding this only when we use VPATH. Change the dependency generation to use .deps instead of appending to the Makefile. This makes us consistent with the dependency style of httpd-2.0. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
* Make the loaded module local to the address space so that it can resolvebnicholes2002-04-021-1/+1
| | | | | | | the symbols correctly git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63218 13f79535-47bb-0310-9956-ffa450edef68
* Load libraries if they not MH_BUNDLE, but if they are not, itrbb2002-03-201-11/+25
| | | | | | | | | | | just attempts to link them as shared libs. This is required to get the JVM loaded through APR. Submitted by: Pier Fumagalli <pier@betaversion.org> Reviewed by: Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63166 13f79535-47bb-0310-9956-ffa450edef68
* Win32 was missing the apr_os_dso_handle_get() accessor.wrowe2002-03-201-0/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63162 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-137-7/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* I'm still drudging through the 36 files for WCE... sorry they are slowwrowe2002-02-121-2/+26
| | | | | | | | | in coming :) Submitted by: Mladen Turk <mturk@mappingsoft.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62949 13f79535-47bb-0310-9956-ffa450edef68
* Mladen Turk's <mturk@mappingsoft.com> WinCE port.wrowe2002-01-281-2/+4
| | | | | | | | | | | | | | | | | | | Nearly, the apr.hw patch needs some review. In short, several quite standard ansi headers (e.g. time.h) aren't present in the WinCT port, but these changes require corresponding changes to apr.h.in. I changed Mladen's #define'd symbol names for the macro blocks to IF_WIN_OS_IS_UNICODE and ELSE_WIN_OS_IS_ANSI to make the code a bit more readable, and drop the global apr_os_level from each macro invocation. Also, I changed the scope of his APR_HAS_ANSI_FS to local scope, since it has no application in the public headers. Mladen's patch helps NT as well, allowing the /D WINNT flag to define NT-only compilations. With WINNT defined, all UNICODE/ANSI os version tests drop out entirely. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62837 13f79535-47bb-0310-9956-ffa450edef68
* Substantial optimization of the os_level semantic. Since this is entirelywrowe2001-12-281-2/+1
| | | | | | | | | | for internal consumption, and apr_initialize must be called, resolve the situation once and use the static, shared value for the remainder of the program execution. Next step is to allow conditional builds [excluding older 9x paths] if the user has no interest in 9x support. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62675 13f79535-47bb-0310-9956-ffa450edef68
* Support a special pathname syntax for apr_dso_load()/dlopen() sotrawick2001-11-301-1/+14
| | | | | | | | | | | | that an APR app can open shared libraries that for whatever reason (e.g., libtool) have been stuffed in an archive. This special archive.a(dso.so) syntax is required for the way libtool likes to build shared libraries on AIX. dlopen() support for such a library requires that the RTLD_MEMBER flag be enabled. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62582 13f79535-47bb-0310-9956-ffa450edef68
* add a comment mentioning the AIX levels for which this istrawick2001-11-201-0/+2
| | | | | | | intended git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62527 13f79535-47bb-0310-9956-ffa450edef68