summaryrefslogtreecommitdiff
path: root/dso
Commit message (Collapse)AuthorAgeFilesLines
* 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
* (apr_dso_load) initialize os_handle to NULL to stop apr_dso_load from ↵fitz2001-11-201-1/+1
| | | | | | returning false positives. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62525 13f79535-47bb-0310-9956-ffa450edef68
* Update *ressym on success in the Darwin DSO load path.jerenkrantz2001-11-201-0/+1
| | | | | | | | Submitted by: Sander Temme <sctemme@covalent.net> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62524 13f79535-47bb-0310-9956-ffa450edef68
* Removed NetWare from the DSO #ifdef confusionbnicholes2001-11-131-21/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62514 13f79535-47bb-0310-9956-ffa450edef68
* NetWare DSO handling routinesbnicholes2001-11-131-0/+166
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62512 13f79535-47bb-0310-9956-ffa450edef68
* Fix leak of NSObjectFileImage handle.wsanchez2001-11-121-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62507 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Return a proper error code from apr_dso_sym() & prevent NULL dereferencebjh2001-10-211-5/+11
| | | | | | | in apr_dso_error() if called after a failure in apr_dso_sym(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62451 13f79535-47bb-0310-9956-ffa450edef68
* add apr_os_dso_handle_put for win32dougm2001-10-201-0/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62449 13f79535-47bb-0310-9956-ffa450edef68
* AIX emulated dlopen() cleanups...orlikowski2001-09-251-4/+24
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62374 13f79535-47bb-0310-9956-ffa450edef68
* As pointed out by Mladen Turk <mturk@mappingsoft.com>, the Win9x casewrowe2001-09-191-1/+3
| | | | | | | | | never fixed the rv from apr_dso_load. Here's the leanest fix, along with assuring we have the pool context, even if all we return is an error result. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62346 13f79535-47bb-0310-9956-ffa450edef68
* Some message is better than no message. Modified the lookup to showwrowe2001-09-041-13/+16
| | | | | | | | %n substitutions untranslated, and return real (viewable) error code from DSO load failure, both for Win32. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62284 13f79535-47bb-0310-9956-ffa450edef68
* Basically added a call to apr_dso_load() to make sure that any module thatbnicholes2001-08-281-0/+21
| | | | | | | | is loaded by APR will be autounloaded by the OS when all references to the module are released git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62233 13f79535-47bb-0310-9956-ffa450edef68
* Warning Will Robinson, someone's about to trounce youwrowe2001-08-021-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62079 13f79535-47bb-0310-9956-ffa450edef68
* include stdlib.h for malloc() and free() prototypes (Darwin)trawick2001-07-021-1/+4
| | | | | | | | fix the DSO_USE_DYLD flavor of apr_dso_sym() so that it returns a predictable value on success (Darwin) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61859 13f79535-47bb-0310-9956-ffa450edef68
* More pools instead of contexts...dreid2001-04-291-8/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61563 13f79535-47bb-0310-9956-ffa450edef68
* We have pools not contexts...dreid2001-04-291-7/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61562 13f79535-47bb-0310-9956-ffa450edef68
* implement apr_os_dso_handle_get() and apr_os_dso_handle_put() fortrawick2001-04-271-1/+19
| | | | | | | | OS/390; also, store the pool pointer in the apr_dso_handle_t in an existing path git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61558 13f79535-47bb-0310-9956-ffa450edef68
* Fix DSO support on HPUX. We have to use ==, not = and it helps to returnrbb2001-04-271-2/+2
| | | | | | | errno so that debugging is easier. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61552 13f79535-47bb-0310-9956-ffa450edef68
* Fix the build after Doug M's commit.dreid2001-04-251-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61549 13f79535-47bb-0310-9956-ffa450edef68
* get apr_os_dso_handle_put workingdougm2001-04-252-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61548 13f79535-47bb-0310-9956-ffa450edef68
* Add the apr_os_dso_handle_get/set for BeOS and some other pieces of tidying updreid2001-04-221-2/+20
| | | | | | | | | | | to remove some errors as the handle is an integer not a pointer. Also add the include to apr_portable.h that I missed as pointed out by Peter Schultz. Submitted by: Peter Schultz Reviewed by: David Reid <dreid@apache.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61545 13f79535-47bb-0310-9956-ffa450edef68
* store the pool handle in apr_os_dso_handle_put()trawick2001-04-191-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61540 13f79535-47bb-0310-9956-ffa450edef68
* Add OS/2 implementation of apr_os_dso_handle_put/get.bjh2001-04-191-0/+24
| | | | | | | Mostly copied from Jeff's unix version. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61539 13f79535-47bb-0310-9956-ffa450edef68
* implement apr_os_dso_handle_get|put() so that Apache builds again;trawick2001-04-191-0/+17
| | | | | | | | | | | Apache's exports.c reflected that the prototypes were added but the function wasn't actually implemented more implementations forthcoming as people figure out they can't link... git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61537 13f79535-47bb-0310-9956-ffa450edef68
* Clean up conditionals in unix DSO code so that we decide based on thewsanchez2001-04-191-15/+20
| | | | | | | | dynamic loading implementation, which we noticed at configure time, instead of by operating system, which should be simpler to maintain. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61534 13f79535-47bb-0310-9956-ffa450edef68
* Add dyld supportwsanchez2001-04-181-2/+48
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61529 13f79535-47bb-0310-9956-ffa450edef68
* This patch sets the dso/aix subdirectory to be used for older versionstrawick2001-04-022-6/+21
| | | | | | | | | | | | | of AIX and fixes a number of bugs the dso code in that directory. Submitted by: Victor Orlikowski Reviewed by: Jeff Trawick (any build problems are my bad... I changed Victor's patch to avoid the 'include "../unix/apr_private.h"' kludge but am not able to easily test) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61429 13f79535-47bb-0310-9956-ffa450edef68
* Not quite sure how this went unnoticed for so long...dreid2001-03-051-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61336 13f79535-47bb-0310-9956-ffa450edef68
* include <string.h> for the strerror() prototype on HP-UX 11trawick2001-02-161-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61239 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001fielding2001-02-166-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* standardize the include path in the OS/390 dso directory to get rid of antrawick2001-02-122-2/+4
| | | | | | | annoying warning message git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61225 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakedougm2001-02-086-12/+12
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
* OS2 was chasing os2errno.h which we hid in a private platform directory,wrowe2001-01-281-2/+0
| | | | | | | | | | | | but apr_errno.h is public. It also called in <os.h> with possibly inappropriate headers, and if os2.h follows any other header's usual conventions, calling it the second time for more declarations can be dicey. Relocated <os2.h> into apr.h.in (accessable to all, since it's later leveraged by most), which simplifies a bunch of code, and relocate all of the os2errno values into apr_errno.h for APR_STATUS_IS_FOO tests. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61156 13f79535-47bb-0310-9956-ffa450edef68
* And why these values, anyways... abstract them outwrowe2001-01-271-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61132 13f79535-47bb-0310-9956-ffa450edef68
* The platform changes in apr to support the APR_FINFO_wanted declarationwrowe2001-01-201-4/+6
| | | | | | | | changes for apr_stat/lstat/getfileinfo. Much, much work to do here, but this gets us started. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61086 13f79535-47bb-0310-9956-ffa450edef68
* watch out for a double-unload. one manually from apr_dso_unload(), followedgstein2001-01-196-51/+62
| | | | | | | | | by one through the pool cleanup. 1) protect the unload by setting/checking the handle to NULL 2) unload "runs" the cleanup to also remove it from the pool cleanup git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61078 13f79535-47bb-0310-9956-ffa450edef68
* All platforms now register a cleanup when a DSO is loaded. This justrbb2001-01-194-0/+36
| | | | | | | | makes a practice uniform across all platforms. In the past, this was done differently on different platforms. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61076 13f79535-47bb-0310-9956-ffa450edef68
* Add linkage declarations to the DSO functions.rbb2001-01-126-35/+35
| | | | | | | Submitted by: Gregory Nicholls <gnicholls@level8.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61055 13f79535-47bb-0310-9956-ffa450edef68
* Libtool-ize APR.gstein2001-01-0910-153/+39
| | | | | | | | | | | | | | | | | To simplify the task, I also shifted the Makefiles to include a rules.mk (based on APRUTIL's with a few tweaks). Still needs some work to remove the INCLUDES setup in all the Makefiles (these can be shared). buildconf now does more work (and generates some output) aclocal.m4 is based on a number of M4 files, rather than standalone apr/test/ has been updated but is probably broken in a few ways. objs/ is now gone. we link directly from the .lo files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61037 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Allocate the right amount of space for an apr_dso_handle_t and providebjh2000-12-231-2/+2
| | | | | | | a bit more space for the name of the failed module as it can be a full path. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60988 13f79535-47bb-0310-9956-ffa450edef68
* Fix VPATH support. APR builds now cleanly in a separate build directory.sascha2000-12-152-2/+4
| | | | | | | Submitted by: Mo DeJong <mdejong@cygnus.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60956 13f79535-47bb-0310-9956-ffa450edef68
* Change the includes in the "correct" way to allow building ondreid2000-12-101-1/+2
| | | | | | | | | | BeOS :) Submitted by: Ryan Bloom <rbb@covalent.net> Reviewed by: David Reid <dreid@apache.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60928 13f79535-47bb-0310-9956-ffa450edef68