summaryrefslogtreecommitdiff
path: root/dso/unix
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaces in *.c.Ivan Zhakov2022-11-201-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
* Avoid strict aliasing warnings on HP-UX.Bojan Smojver2008-06-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@669082 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.Joe Orton2006-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.Joe Orton2006-08-031-6/+6
| | | | git-svn-id: https://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.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* Add Support for DragonFly BSD.Paul Querna2005-01-211-1/+2
| | | | | | | | PR: #29858 Submitted By: Jeroen Ruigrok <asmodai tendra.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@125880 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.Joe Orton2004-11-181-4/+0
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@76269 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0Justin Erenkrantz2004-02-131-49/+10
| | | | git-svn-id: https://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 dependencyGreg Stein2004-02-051-14/+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: https://svn.apache.org/repos/asf/apr/apr/trunk@64891 13f79535-47bb-0310-9956-ffa450edef68
* After some less than considerable discussion on-list, it seems like thereWilliam A. Rowe Jr2003-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: https://svn.apache.org/repos/asf/apr/apr/trunk@64357 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protection for include/arch/ header filesThom May2003-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: https://svn.apache.org/repos/asf/apr/apr/trunk@64271 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.Thom May2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: https://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.Ryan Bloom2002-12-291-5/+5
| | | | | | | This doesn't work fully on Windows yet, that is the next commit. git-svn-id: https://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 stderrJoe Orton2002-12-111-1/+1
| | | | | | | by default. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64143 13f79535-47bb-0310-9956-ffa450edef68
* When encountering a link error when loading a DSO on Darwin, print the error.Justin Erenkrantz2002-09-131-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63863 13f79535-47bb-0310-9956-ffa450edef68
* Correct shared library support on Darwin to not fatally error out whenJustin Erenkrantz2002-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: https://svn.apache.org/repos/asf/apr/apr/trunk@63521 13f79535-47bb-0310-9956-ffa450edef68
* OK. This is admittedly anal. But the whole idea behind cpp macrosJim Jagielski2002-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: https://svn.apache.org/repos/asf/apr/apr/trunk@63347 13f79535-47bb-0310-9956-ffa450edef68
* Minor formattingJim Jagielski2002-05-011-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63344 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile breakageJim Jagielski2002-05-011-2/+2
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63342 13f79535-47bb-0310-9956-ffa450edef68
* Or'ing NSLINKMODULE_OPTION_NONE is verbose.Wilfredo Sanchez2002-05-011-11/+3
| | | | | | | Darwin comment is true on all platforms. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63341 13f79535-47bb-0310-9956-ffa450edef68
* To support modules like PHP, which implement their ownJim Jagielski2002-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: https://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.Justin Erenkrantz2002-04-221-0/+1
| | | | | | | (somehow CVS ignored updating these on the last commit.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63287 13f79535-47bb-0310-9956-ffa450edef68
* Allow VPATH builds to properly generate build dependencies. This requiresJustin Erenkrantz2002-04-221-0/+2
| | | | | | | | | | | | 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: https://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
* Load libraries if they not MH_BUNDLE, but if they are not, itRyan Bloom2002-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: https://svn.apache.org/repos/asf/apr/apr/trunk@63166 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Support a special pathname syntax for apr_dso_load()/dlopen() soJeff Trawick2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@62582 13f79535-47bb-0310-9956-ffa450edef68
* (apr_dso_load) initialize os_handle to NULL to stop apr_dso_load from ↵Brian Fitzpatrick2001-11-201-1/+1
| | | | | | returning false positives. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62525 13f79535-47bb-0310-9956-ffa450edef68
* Update *ressym on success in the Darwin DSO load path.Justin Erenkrantz2001-11-201-0/+1
| | | | | | | | Submitted by: Sander Temme <sctemme@covalent.net> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62524 13f79535-47bb-0310-9956-ffa450edef68
* Removed NetWare from the DSO #ifdef confusionBradley Nicholes2001-11-131-21/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62514 13f79535-47bb-0310-9956-ffa450edef68
* Fix leak of NSObjectFileImage handle.Wilfredo Sanchez2001-11-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62507 13f79535-47bb-0310-9956-ffa450edef68
* Basically added a call to apr_dso_load() to make sure that any module thatBradley Nicholes2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@62233 13f79535-47bb-0310-9956-ffa450edef68
* include stdlib.h for malloc() and free() prototypes (Darwin)Jeff 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: https://svn.apache.org/repos/asf/apr/apr/trunk@61859 13f79535-47bb-0310-9956-ffa450edef68
* We have pools not contexts...David Reid2001-04-291-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61562 13f79535-47bb-0310-9956-ffa450edef68
* Fix DSO support on HPUX. We have to use ==, not = and it helps to returnRyan Bloom2001-04-271-2/+2
| | | | | | | errno so that debugging is easier. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61552 13f79535-47bb-0310-9956-ffa450edef68
* get apr_os_dso_handle_put workingDoug MacEachern2001-04-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61548 13f79535-47bb-0310-9956-ffa450edef68
* store the pool handle in apr_os_dso_handle_put()Jeff Trawick2001-04-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61540 13f79535-47bb-0310-9956-ffa450edef68
* implement apr_os_dso_handle_get|put() so that Apache builds again;Jeff 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: https://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 theWilfredo Sanchez2001-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: https://svn.apache.org/repos/asf/apr/apr/trunk@61534 13f79535-47bb-0310-9956-ffa450edef68
* Add dyld supportWilfredo Sanchez2001-04-181-2/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61529 13f79535-47bb-0310-9956-ffa450edef68
* include <string.h> for the strerror() prototype on HP-UX 11Jeff Trawick2001-02-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61239 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakeDoug MacEachern2001-02-081-2/+2
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
* watch out for a double-unload. one manually from apr_dso_unload(), followedGreg Stein2001-01-191-10/+14
| | | | | | | | | 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: https://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 justRyan Bloom2001-01-191-0/+9
| | | | | | | | makes a practice uniform across all platforms. In the past, this was done differently on different platforms. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61076 13f79535-47bb-0310-9956-ffa450edef68
* Add linkage declarations to the DSO functions.Ryan Bloom2001-01-121-7/+7
| | | | | | | Submitted by: Gregory Nicholls <gnicholls@level8.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61055 13f79535-47bb-0310-9956-ffa450edef68
* Libtool-ize APR.Greg Stein2001-01-092-32/+8
| | | | | | | | | | | | | | | | | 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: https://svn.apache.org/repos/asf/apr/apr/trunk@61037 13f79535-47bb-0310-9956-ffa450edef68
* Fix VPATH support. APR builds now cleanly in a separate build directory.Sascha Schumann2000-12-152-2/+4
| | | | | | | Submitted by: Mo DeJong <mdejong@cygnus.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60956 13f79535-47bb-0310-9956-ffa450edef68
* Get apr_dso_error working properly on Unix.Ryan Bloom2000-12-031-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60857 13f79535-47bb-0310-9956-ffa450edef68
* Get NULL defined on some systems (e.g., FreeBSD 3.4).Jeff Trawick2000-11-271-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60800 13f79535-47bb-0310-9956-ffa450edef68
* This patch removes the dependencies from Makefile.in. DependenciesJeff Trawick2000-11-151-22/+2
| | | | | | | | | | | | | | | | | will not be checked into CVS, as they are added to Makefile when the user runs "make depend." The exact mechanism for building dependencies is moved to a script called mkdep.sh in the APR helpers directory. Folks are free to make the mechanism more general (i.e., work on systems without gcc -MM), but for now it still requires gcc -MM. The patch also removes some commented out variable definitions and rules. BeOS- and OS/2-specific makefiles have not been updated. I'll post a patch to those or go ahead and commit them later, but David and Brian will get to test them. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60727 13f79535-47bb-0310-9956-ffa450edef68