| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
sdbm...now featuring a +1 from OtherBill.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@513046 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@512867 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@512856 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@512853 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Suggested by: Joe
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@512842 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Joe Schaefer
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@512557 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Larry Cipriani <lvc lucent.com>
PR: 40659
* dbm/sdbm/sdbm.c
(getnext): Actually check error from apr_file_seek.
* CHANGES: Note change.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@454383 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@151413 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Tipped-of-by: Uwe Zeisberger
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@76270 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
private symbols into the apu__ namespace.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58997 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
missed in earlier fix for PR 14861. (broken only on bigendian LP64
platforms)
* test/testdb.c (doit): Add regression test.
* test/Makefile.in: Link test programs using -no-install.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58990 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58989 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-util/trunk@58980 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add apu_want.h to the output list.
* aprutil.dsp
* libaprutil.dsp
Add new sourcefiles: apu_want.h*
* dbm/apr_dbm_berkeleydb.c
Include the Berkeley DB header by using the new APU_WANT_DB.
* include/apu.h.in
* include/apu.hnw
* include/apu.hw
Remove the inclusion of db.h triggered by a private symbol.
* include/apu_want.h.in
* include/apu_want.hnw
* include/apu_want.hw
New files, introducing conditional action based on APU_WANT_xxx.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58916 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(e.g., 64-bit AIX, 64-bit Solaris).
apr_datum_t is (char *, apr_size_t) and apr_sdbm_datum_t is (char *, int),
and the CONVERT_DATUM and RETURN_DATUM macros in apr_dbm_sdbm.c assumed that
the structures could be copied just by casting instead of copying member-by-
member.
PR: 14861
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58837 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
|
|
|
|
|
|
|
|
|
|
| |
standalone databases files (passing a NULL DB_ENV to db_create), and
those don't support transactions. DB_AUTO_COMMIT can only be used if
the database is part of an environment that was created with
DB_INIT_TXN.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58782 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
when a NULL transaction is passed.
Note that we treat DB 4.0 as DB_VER == 3, while higher versions of 4.x are
treated as DB_VER == 4 which has these API changes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58773 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
signature.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58757 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
the specified dbm type is not implemented/invalid
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58740 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
|
|
|
|
|
|
|
|
|
|
|
| |
installed copies specified by either APR_INCLUDES or APRUTIL_INCLUDES
directives from potentially overriding our source includes.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58615 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 cleaned up the configuration (ues apr-config, avoid APRVARS,
handle includes better, etc). Revamp all the Makefiles to simplify
their INCLUDES handling and to toss the unused srcdir variable.
* configure.in: use ../apr/build/find_apr.m4; this will eventually
need to change to a copied find_apr, but there is more work for
that to happen (we also have to get rules.mk from an installed
APR, for instance). revamp all the includes stuff: the INCLUDES
symbol was unused. define APRUTIL_INCLUDES for the public includes
(will go into apu-config) and APRUTIL_PRIV_INCLUDES for our
private stuff (only used in our build). don't worry about setting
CFLAGS either. LIBS now uses APR_LIBS, but we probably don't want
to set LIBS.
* apu-conf.m4: remove custom --with-apr processing and use
APR_FIND_APR (from find_apr.m4). tweak some of the
fetching-of-flags from APR to use apr-config.
* test/Makefile.in: don't refer to libapr.la explicitly. use APR_LIBS.
* uri/Makefile.in: create uri_delims.h in BUILD/uri/ rather than our
private include area. add the .c file as a dep of apr_uri.lo.
ensure that the INCLUDES has an "-I." to pick up the delims.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58551 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
we see RET_SPECIAL. (This mimics the earlier change to DB2+, but was
not added to this DB1 code.)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58549 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
sdbm returns a NULL key on getnextkey at EOF.
berkeleyDB didn't
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58540 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(only include it in the code which requires it)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58530 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
todo: get httpd to link to it.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58525 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Greg Stein
Reviewed by: Roy T. Fielding
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58524 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
return an error. While in there clean up the macros, they are not
needed anymore.
Submitted by: Greg Stein
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58520 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
- Add srcdir, VPATH, and top_srcdir to all Makefile.in's
- Remove configure.in hack to add srcdir and VPATH to all Makefiles
- Rely on APR_INCLUDES for APR's path. (Should switch to find_apr.m4 ASAP)
- Make all INCLUDES paths relative to top_srcdir/top_builddir rather than
relying on ../../../../ (way too confusing to maintain)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58505 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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58486 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
DB v2 doesn't have strerror
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58480 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58470 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58467 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58462 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
2 new functions
apr_dbm_open_ex
apr_dbm_get_usednames_ex
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58461 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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58446 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(void function cannot return value).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58445 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
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Mladen Turk
Fix for gdbm code to handle freedatum properly (I broken it when I
previously removed the NEEDS_CLEANUP cpp symbol).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58442 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
user of this option). shift datum_cleanup() to apr_dbm_gdbm.c.
* define SET_FILE() macro so that we can properly handle the berkeley
configuration; it uses a structure rather than a ptr, so we need
some extra work to occur (the macro covers the work).
[ the above macros are temporary until full breakout ]
* shift apr_posix_perms2mode() to the end of apr_dbm.c and always
define the thing.
* add GET_BDB macro to revamp how we access the berkeley stuff (the
APR_DBM_* macros). also tweak the apr_dbm_fetch() function to
compensate.
* add vtables and functions for each database, and fill them with
abort() calls until their code is filled in.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58441 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
|
|
|
|
|
|
|
|
|
|
|
| |
which will truncate the existing dbm if it is there
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58425 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
builddir and srcdir include directories if we are going to get all of the
header files we need.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58419 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
db3 version also produces meaningfull error strings
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58411 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
apr-util's build system, because it has basically been removed.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58339 13f79535-47bb-0310-9956-ffa450edef68
|