summaryrefslogtreecommitdiff
path: root/dbm
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaces in *.c.Ivan Zhakov2022-11-206-46/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
* Use apr_psprintf() instead of apr_strerror() to avoid a worst case allocation.Graham Leggett2021-06-221-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1890980 13f79535-47bb-0310-9956-ffa450edef68
* Fall back on default if the dbm type is unset.Graham Leggett2021-06-221-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1890966 13f79535-47bb-0310-9956-ffa450edef68
* apr_dbm: Add dedicated apr_dbm_get_driver() function that returnsGraham Leggett2021-06-215-13/+56
| | | | | | | | details of the driver selected and any error encountered. Add the apr_dbm_open2() function that references the driver. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1890952 13f79535-47bb-0310-9956-ffa450edef68
* Fix error handling in gdbmStefan Fritsch2018-02-251-19/+29
| | | | | | | | | | | | | | | Only check for gdbm_errno if the return value of the called gdbm_* function says so. This fixes apr-util with gdbm 1.14, which does not seem to always reset gdbm_errno. Also make the gdbm driver return error codes starting with APR_OS_START_USEERR instead of always returning APR_EGENERAL. This is what the berkleydb driver already does. Also ensure that dsize is 0 if dptr == NULL. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1825311 13f79535-47bb-0310-9956-ffa450edef68
* sdbm: better database/page validation to fail cleanly when corrupted.Yann Ylavic2017-09-232-40/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1809394 13f79535-47bb-0310-9956-ffa450edef68
* Add include and lib paths for dependecies in some of the Gregg Lewis Smith2015-06-251-8/+8
| | | | | | | | DBD and DBM drivers/modules git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1687654 13f79535-47bb-0310-9956-ffa450edef68
* APR DSOs have .dll extension on Cygwin too.Jeff Trawick2013-10-051-1/+1
| | | | | | | | | PR: 55587 Submitted by: Carlo Bramini <carlo.bramix libero.it> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1529554 13f79535-47bb-0310-9956-ffa450edef68
* Fix forever loop on NetWare when trying to get parent pool.Guenter Knauf2013-05-071-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1479836 13f79535-47bb-0310-9956-ffa450edef68
* Forward port r1211223 from 1.4:Stefan Fritsch2012-07-162-16/+16
| | | | | | | Use uniques bases. The current one were in collision with dbd drivers git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1362255 13f79535-47bb-0310-9956-ffa450edef68
* And some more NetWare tweaks (forgotten files).Guenter Knauf2012-05-032-10/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1333282 13f79535-47bb-0310-9956-ffa450edef68
* Suppress a potential warning about an ignored return value.Graham Leggett2011-11-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1207704 13f79535-47bb-0310-9956-ffa450edef68
* Remove variables that we assign but never read.Graham Leggett2011-11-281-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1207680 13f79535-47bb-0310-9956-ffa450edef68
* Refactored for single apr/ treeWilliam A. Rowe Jr2011-06-012-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1130019 13f79535-47bb-0310-9956-ffa450edef68
* Use var for prelude so its possible to change it at one place.Guenter Knauf2011-03-182-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1082798 13f79535-47bb-0310-9956-ffa450edef68
* Fixed include paths in NetWare dbm makefiles.Guenter Knauf2011-03-072-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1078977 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.Guenter Knauf2011-03-062-2/+10
| | | | | | | | Fix for crappy linker which cant deal with absolute unix paths for import files. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1078631 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.Guenter Knauf2011-03-062-2/+2
| | | | | | | Part 5. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1078617 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.Guenter Knauf2011-03-063-22/+12
| | | | | | | Part 4. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1078559 13f79535-47bb-0310-9956-ffa450edef68
* For now, revert part of r979891 to fix test breakage. But the error handlingStefan Fritsch2010-07-281-2/+5
| | | | | | | of apr_sdbm_nextkey seems broken. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@980197 13f79535-47bb-0310-9956-ffa450edef68
* Fix various issues found by cppcheckStefan Fritsch2010-07-271-1/+1
| | | | | | | | | | | | - error handling issues - use of uninitialized data - null pointer dereference - unused variables - memory/fd leaks - broken code in threadproc/beos/proc.c git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@979891 13f79535-47bb-0310-9956-ffa450edef68
* Support Berkeley DB 5.0.Jeff Trawick2010-04-261-3/+3
| | | | | | | | PR: 49179 Submitted by: Bernhard Rosenkraenzer <br blankpage.ch> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@938132 13f79535-47bb-0310-9956-ffa450edef68
* Use the APR_FOPEN_* constants instead of the deprecated APR_* constantsGraham Leggett2010-03-022-9/+9
| | | | | | | within code outside the file_io code. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@917837 13f79535-47bb-0310-9956-ffa450edef68
* Refactor away apu_version legacy cruftWilliam A. Rowe Jr2009-12-211-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892984 13f79535-47bb-0310-9956-ffa450edef68
* Refactoring to drop apr_config.h, renamed APU_MODULE_DECLARE_DATAWilliam A. Rowe Jr2009-12-175-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@891836 13f79535-47bb-0310-9956-ffa450edef68
* The resource stub name changes for the libapr migrationWilliam A. Rowe Jr2009-12-172-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@891495 13f79535-47bb-0310-9956-ffa450edef68
* Convert various APU_DECLARE into APR_DECLARE.Bojan Smojver2009-07-163-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@794523 13f79535-47bb-0310-9956-ffa450edef68
* more NetWare build tweaks.Guenter Knauf2009-06-283-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@789172 13f79535-47bb-0310-9956-ffa450edef68
* Fix race conditions in initialisation of DBD, DBM and DSO.Bojan Smojver2009-06-101-2/+11
| | | | | | For 2.0, this is just a temporary solution, until this is re-engineered. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@783580 13f79535-47bb-0310-9956-ffa450edef68
* APR->APU conversion of DSO buildfoo; rename --disable-util-dso toJoe Orton2009-03-241-5/+5
| | | | | | | | | | | | | | | | | | | | | --disable-modular-dso: * configure.in, Makefile.in: Use APR_DSO_MODULES for set of DSOs to build. * util-misc/apu_dso.c, include/private/apu_internal.h: Use macro APR_HAVE_MODULAR_DSO to determine whether modular DSO build is used. * build/dso.m4 (APR_MODULAR_DSO): Renamed from APU_CHECK_UTIL_DSO. Define APR_HAVE_MODULAR_DSO if modular DSO biuld is used. Add to LIBS not APRUTIL_LIBS. Rename configure flag to --disable-modular-dso to disable modular DSO build. * ldap/*.c, dbm/*.c, dbd/*.c, crypto/*.c: Adjust to use APR_HAVE_MODULAR_DSO. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@757884 13f79535-47bb-0310-9956-ffa450edef68
* Merge APR-Util trunk into APR.Paul Querna2009-03-2417-0/+3900
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@757704 13f79535-47bb-0310-9956-ffa450edef68