| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1240474 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Makes hash table data unavailabe in pool cleanups registered with the pool.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1238132 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Randomise hashes by providing a seed (initial hash value).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1237546 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1204011 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
destroyed.
Backport of r1198921 from trunk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1199083 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Set the proc->pid field to the pid of the newly created child.
Note that a mere pid value provides little entropy to mix into
the child random pool.
Backport of r1198860 from trunk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1199082 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Backport of r1198923 from trunk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1199080 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to sed use, because ${A#B} is not available in all shells,
especially not in /bin/sh on Solaris.
The original problem of only whitespace in the saved
variable is fixed by a better test condition.
The additional possible problem of sed or regexp meta
characters in the variable value is still open but
yet has to be observed in the wild.
Backport of r1199072 from trunk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1199076 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1197394 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Avoid fcntl() calls if support for O_CLOEXEC works.
PR: 48557
Submitted by: Mike Frysinger <vapier gentoo org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1183730 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix various issues found by cppcheck
- 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: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1183724 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Add support for APR_SO_BROADCAST
PR: 46389
Submitted by: Armin Müller <mueller itestra com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1183717 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix race condition that could lead to EEXIST being returned
PR: 51254
Submitted by: William Lee <william lee rainstor com>,
Wim Lewis <wiml omnigroup com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1183713 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix APR_RESTORE_THE_ENVIRONMENT if the original variable was a single space
Autoconf selects a POSIX shell for us, so we can get rid of sed, here.
PR 50334
Submitted by: Nathan Phillip Brink <binki gentoo org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1183710 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't close any of the new stdin/stdout/stderr FDs in the child if it
already has the correct FD.
PR: 51995
Submitted by: Dan Ports <drkp csail mit edu>]
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1183706 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Clarify that it is save to call apr_initialize several times.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1183701 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Fix issue found by PVS-Studio static analyzer:
Correctly clear whole sha256 state
PR: 51542
Submitted by: Andrey Karpov <karpov viva64 com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1172828 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1152851 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1152846 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
character 'x' in apr snprintf implementations.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1152310 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Fix crash with --enable-allocator-uses-mmap on machines with pagesize >= 8k.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1130276 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Detects more platforms, like AIX 7, Android etc.
Source taken from
http://git.savannah.gnu.org/cgit/config.git/tree/
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125546 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125529 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
also remove libtool2 files.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125523 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125508 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
- fixed indentation
- Correct and add a few comments
- Remove "$verbose" from libtool 1 call
(it doesn't implement it)
- Reduce code duplication
- Remove "force" form libtoolize in order to
not overwrite config.(guess|sub).
All possibly conflicting old files get removed
by buildconf before calling libtoolize.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125485 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
At the time of merge from trunk the line was
already added by another commit.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125481 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Add AC_LANG_SOURCE to AC_COMPILE_IFELSE
in apr_common.m4.
Backport of r1125472 from trunk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125473 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125419 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Backports: r1124983
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1125000 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Backports: r1124997
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1124998 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1124327 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Backports: r1124322
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1124323 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
in its own right, due to an svn:eol-style mess on svn cp).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1124317 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1104504 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Backport: r1103091
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1103092 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to compose the proper test-case to expose.
Refactor a complex test into a very simple test and
optimize the exception cases to bust the loop early.
Clean up documentation a bit.
Backports: r1103041, r1103046
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1103049 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Optimize []...] pattern case
Backport: r1102992, r1102995
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1102996 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Win32 handle debugging for this file by including apr_dbg_win32_handles.h
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1102150 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Fix top_builddir in installed apr_rules.mk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1101302 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1098903 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
correctly, while 'x?' was not. Resolves one alert, assignment
within conditional expression, for pedantic compilers.
Forward ports: r1098799
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1098804 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
document return values for apr_os_thread_equal()
Submitted by: Stefan Ruppert <sr myarm.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1098599 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reported by: Maksymilian Arciemowicz <cxib securityreason.com>
Excessive CPU consumption was possible due to the unconstrained, recursive
invocation of apr_fnmatch, as apr_fnmatch processed '*' wildcards.
Introduce new apr_fnmatch implementation. This delivers optimizations
in some common cases, without the underlying weakness of recursion
present in older implementations.
Submitted by: William Rowe
Forward port from r1098289
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1098290 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. r1089433
poll, pollset, pollcb on Windows: Handle calls with no file/socket
descriptors.
PR: 49882
Patch for one situation submitted by: Stefan Ruppert <sr myarm.com>
Extended by: trawick
2. r1089528
fix variable initialization bug in r1089433
3. r987639
disable entire impl_pollcb_create() function if APR_HAS_THREADS
instead of just inserting a return at the top
4. tiny part of r899905
move decl of loop control variables to the block where used
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1097783 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1094203 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Steve Hay <SteveHay planit.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1092025 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1091858 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IPV6_V6ONLY on Windows:
* Deal with SDKs which don't have the symbol definition
* Deal with old run-time platforms which don't implement the option
and have hard-coded behavior internally (option always on)
Behavior changes:
run on Windows >= Vista, SDK has IPV6_V6ONLY:
no change in behavior
run on Windows >= Vista, SDK doesn't have IPV6_V6ONLY:
works just like SDK had the def'n (will return APR_SUCCESS on
IPv6 socket instead of WSAENOPROTOOPT)
run on Windows < Vista, regardless of SDK:
socket_opt_get/set(APR_IPV6_V6ONLY) reflect stack behavior (always on)
previously, if IPV6_V6ONLY was defined: set returned WSAENOPROTOOPT
previously, if IPV6_V6ONLY was not defined: set returned APR_ENOTIMPL
previously, regardless of IPV6_V6ONLY presence: get returned not-enabled
now: get always returns enabled; set returns APR_SUCCESS when enabling,
APR_ENOTIMPL when trying to disable
PR: 45321
Submitted by: Sob <sob hisoftware.cz>
Tweaked by: trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1091824 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
for MinGW, hard-code the results of various IPv6 tests instead
of butchering them enough to work with Winsock.
Use --disable-ipv6 if not desired, or running on ancient machine.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1091510 13f79535-47bb-0310-9956-ffa450edef68
|