| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@1004712 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
was picking up an odd path through the dbm source files.
Tests now pass (linux x86 for sdbm/gdbm/db4).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719533 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719504 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719468 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719467 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@151413 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58989 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
No Functional changes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58816 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
No code changes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58787 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
this still needs a bit more testing, but it seems to work ok for me
Submitted by: Toomas Soome <tsoome@muhv.pri.ee>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58739 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58571 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Also, clean up the autoconf DB macros to be name-space protected and
cleaner per Greg's suggestions.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58487 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
occurred:
- open() and exists() split the #if logic out to the three files
- vt_db_fetch() had minor changes related to the 'rd' variable
- the various exists() functions were tweaked
* the geterror() was eliminated as apr_dbm.c can handle it
* Jeff Trawick's comments re: static vs APU_DECLARE_DATA for the
vtables.
* apu_conf.m4, dbm/Makefile.in: build/link in the appropriate dbm file
(until we start buildig/linking all of them)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58448 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
separate .c files: set_error, close, freedatum, and getusednames.
Set the vtable uesd in the DBM_VTABLE cpp symbol and store it within
the apr_dbm_t type returned by open().
NEEDS_CLEANUP was removed in this pass, as we shifted and them
simplified the #if/#else/#endif branches in freedatum.
set_error and getusednames were shifted from #if sequences into three
new code sections; no changes within the code blocks.
close was a simply copy to the new .c files since they all still use
the APR_DBM_CLOSE cover macro.
Note: no macro expansions were done yet. Keeping the code shift simple
for review purposes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58443 13f79535-47bb-0310-9956-ffa450edef68
|
|
work (so far) in that:
* first phase only: shifted macros from apr_dbm.c into the other .c files
and simply #include'd those files (i.e. not using the vtables yet)
NOTE for code review: no changes were made to the macros. This was a pure
shift only.
apr_dbm_private.h is the only new code (thus, good for review).
* no per-dbm .h files; all entry points will be thru vtables. since we need
to map names to <something> (to allow for external registration of DBM
types), then we may as well map to a complete vtable which includes the
open and used_names entry points.
* similar to buckets, the predefined types are variables specified in
apr_dbm_private.h for use by the dbm registration code.
* removed a couple entry points from Ian's apr_dbm_type_t (set error and a
cleanup function)
Next steps: add infrastructure for using the types; revamp the macro stuff
into real function calls; provide for multiple, available dbm types.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58440 13f79535-47bb-0310-9956-ffa450edef68
|