| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61257 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
s/apr_lock_aquire/apr_lock_acquire/g;
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61232 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
since they serve no useful purpose.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61150 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
linking on some platforms.
Submitted by: Gregory Nicholls <gnicholls@level8.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61046 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
happening on systems that do not NULL out locks when they are
destroyed. To keep this from happening, we set the locks to
NULL after destroying them in apr_terminate, and we have to
check for NULL in free_blocks.
Submitted by: Allan Edwards and Gregory Nicholls <gnicholls@level8.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61027 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61018 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
that can't cork, we get a syntax error when we check #if HAVE_CORKABLE_TCP,
because HAVE_CORKABLE_TCP is empty
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61017 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Jeff Trawick <trawickj@bellsouth.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61013 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
code, but it should go away.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61010 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
runs the risk of overwriting permanent_pool, which would be VERY bad. By
moving this back to apr_init_alloc, we know that it should only be called
by apr_initialize. This does mean that we can NEVER call apr_initialize
twice in the same program, but that should already be taken care of.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61009 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
idea, because it opened up memory leaks. It is very likely that this will
expose some seg faults and some memory leaks, but I have tried to find and
fix most of the already.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61002 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
problem to solve, is that we need an apr_lock in order to allocate
pools, so that we can lock things out when allocating. So, how do we
allocate locks without a pool to allocate from? The answer is to create
a global_apr_pool, which is a bootstrapping pool. There should NEVER
be a sub-pool off this pool, and it is static to an APR file. This is
only used to allow us to allocate the locks cleanly, without using the
NULL pool hack.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60997 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
into include/arch/unix
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60921 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60905 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
when we scan the APR header files to generate the export list. If we
use POOL_DEBUG, then we can't determine when the debug functions are
available and when they aren't.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60825 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Reduce the dependencies between APR headers. This assists APR clients who
generate dependencies, and (used to) pick up "all" of the APR headers.
Basically, this was trimming back the headers to just what was needed.
Some unneeded system headers were removed, too. The most common headers
to put back in were: apr.h, apr_pools.h, and apr_errno.h.
*) move apr_pool_t declaration and a few pool functions from apr_general.h
to apr_pools.h.
*) move kill_conditions and process_chain from apr_pools.h to
apr_thread_proc.h.
*) move apr_note_subprocess() from apr_general.h to apr_thread_proc.h
*) add stdio.h to apr_pools.c (compensate for removal from apr_general.h)
*) add apr_lib.h to apr_strnatcmp.c (compensate for apr_strings.h no longer
including apr_lib.h)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60796 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Submitted by: Karl Fogel <kfogel@collab.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60672 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60668 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60667 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60662 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60577 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
empty. Avoiding referring to the element type in the macros resulted
in some double dereferences that did the wrong thing.
Reported by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60522 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
see src/lib/apr/apr_compat.h for most details.
Also a few minor nits to get Win32 to build.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
- removed the apr_abort foo since every caller was passing it NULL anyway;
and this is debugging code, so i don't have any qualms about using
stderr or abort().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60453 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
just to help organize all of the APR .c files in directories that make
sense.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60442 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
threadproc/unix. All in the name of removing the lib directory once
and for all.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60441 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
name is probably wrong, but at least this moves everything dealing with
passwords to a common directory. If people hate the name, we can fix/change
it later. We never actually came up with a name on the list, so rather
than wait, I just moved things.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60438 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60426 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
functions, and since we don't really have a fork function in APR, I'm
not sure having exec functions makes sense.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60402 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
to clean out the lib/apr/lib directory.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60399 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
create a new header for those functions. This is the first step to
removing the apr/lib directory completely, and moving those files/functions
to descriptive directories.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60398 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Fix the name of the chi^2 distribution;
Let the compiler decide how to multiply by 33.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60391 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
little bit of explanation I wrote in the source of one of my forthcoming
libraries.
In short: The trick of the multiplier 33 is not that it is magic, it is
more because it can be easily replaced with a shift+add function. So,
let's actually do it here or the whole trick would be null.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60374 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60363 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60358 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60322 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
remove some useless "struct" keywords in apr_pools.h
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60319 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60315 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60308 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
C file. Just a good idea to keep private information private. :-)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60304 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
again, bu making them use the correct macro.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60303 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Include time.h for time().
This removes a bunch of compiler warnings with gcc -Wall on AIX.
Submitted by: Jeff Trawick, Victor Orlikowski
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60276 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
(separate fix by Greg: #if an Apache function call out of existence, and
optimize the function by computing length once and memcpy'ing)
Submitted by: "Victor J. Orlikowski" <vjo@raleigh.ibm.com>
Reviewed by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60262 13f79535-47bb-0310-9956-ffa450edef68
|