| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/tags/0.9.7@291729 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@291728 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
ensures that (for the first time) the release dll will be
given 0.9.7 revision.
The version (built into httpd) used to carry an httpd ver,
however it never compiled due to the dev flag bug.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@291722 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
* file_io/unix/dir.c (apr_dir_make_recursive): Fix infinite recursion
if mkdir fails for all path components.
* test/testdir.c (test_rmkdir_nocwd): Add test case.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@291341 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
which address space the process should be started in.
Reviewed by: jjclar, bnicholes, trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@290849 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
returning APR_EBUSY.
Backport: 290766
Submitted by: Ronen Mizrahi <ronen tversity.com>
Reviewed by: wrowe, Henry Jen
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@290769 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* file_io/unix/readwrite.c (apr_file_write): Catch apr_file_flush()
failure for buffered files.
(apr_file_read): Handle the apr_file_flush() return value when
flushing buffered writes.
* test/testfile.c (test_fail_write_flush, test_fail_read_flush): Add
test cases.
Submitted by: Erik Huelsmann <ehuels gmail.com>, jorton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@267192 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* user/unix/userinfo.c (getpwnam_safe, apr_uid_name_get): Fix error
handling; always use the getpwnam_r return value as the error code,
and ignore errno, since POSIX does not require that getpwnam_r sets
errno.
* user/unix/groupinfo.c (apr_gid_name_get, apr_gid_get): Fix error
handling as above; and check for the NULL -> "no entry" cases here
too.
* test/testuser.c (fail_userinfo): Add test cases for error handling
(only one of them actually trips on the bugs in the old code with
glibc).
* user/unix/userinfo.c (getpwnam_safe, apr_uid_name_get): Fix error
handling for platforms which do not set errno on non-threadsafe
get{pw,gr}* failures; always return APR_ENOENT for that case.
* user/unix/groupinfo.c (apr_gid_name_get, apr_gid_get): Likewise.
PR: 34053
Submitted by: pquerna, jorton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@239592 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
APR_STATUS_IS_ENOENT(): check for EMVSCATLG
on z/OS
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@239401 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR: 27654, 34336
Submitted by: Henry Jen <henryjen ztune.net> and E Holyat <eholyat yahoo.com>
Reviewed by: wrowe, stoddard
Backport: 224407
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@224408 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
wasn't also given.
Backport from trunk of r180013
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@209047 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
the .exe extension is not given. Was trying to close an apr_file_t that had
failed to open, causing a segfault.
Backport from trunk of r208879.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@208883 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
on some types of network drive as the file system driver returns a different
error code when an attempt is made to rename to an existing file name.
Allow for this error code, ERROR_ALREADY_EXISTS.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@202353 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@190597 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
PR: 32177
Submitted by: Sim <sgobbi datamanagement.it>, Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@190577 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
may pass different values on different calls; so don't
try to optimize this setsockopt()
SO_LINGER is an odd one; the real setsockopt provides
a configurable value for the timeout; but with APR, this
is a flag and the timeout is hardcoded; so the optimization
stays for this one
Reviewed by: Joe Orton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@190574 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
* build/apr_network.m4 (APR_CHECK_SCTP): Fix check for SCTP.
PR: 35021
Submitted by: Lee Begg <llnz paradise.net.nz>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@179789 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
or weak sauce.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@179279 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
network_io/unix/sendrecv.c: Deal with EAGAIN after poll().
Following apr_wait_for_io_or_timeout(), we were doing I/O and not
dealing with EAGAIN. It is legal for poll() to indicate that a socket
is available for writing and then for write() to fail with EAGAIN if
the state of the socket changed in between the poll() and write()
calls. This only seems to actually happen on Mac OS 10.4 (Darwin 8).
Rather than trying write() only once, if we get an EAGAIN, continue to
call apr_wait_for_io_or_timeout() and try writing.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@178842 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: dlr
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@178706 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@178654 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
* build/apr_hints.m4 (APR_PRELOAD): Prevent use of poll() on Darwin.
PR: 34332, 29985
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@178389 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
* threadproc/unix/proc.c (apr_procattr_child_in_set,
apr_procattr_child_out_set, apr_procattr_child_err_set): Add error
checking: fixes segfaults in applications when pipe() or dup2() fail
(e.g. due to ulimit settings).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@170398 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@165341 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@161503 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
* include/apr.h.in: Define __STDC_CONSTANT_MACROS for C++ so that
stdint.h exposes the {,U}INT64_C macros.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@156146 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Aaron Bannert
Reviewed by: Joe Orton, Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@154587 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151423 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151421 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151409 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
* configure.in: Disable sendfile support for S/390 only in kernel
versions < 2.4.0.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151371 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Add apr_threadattr_stacksize_set() for overriding the default
stack size for threads created by apr_thread_create().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@125670 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@125413 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
installed in parallel.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@124439 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@122568 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@112364 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@112255 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@111871 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
LibC SDK
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106919 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106489 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106485 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
builds on x86_64)
Drop racy/broken Unix nested mutex implementation; use SUSv3-style
recursive mutex support if available:
* build/apr_threads.m4 (APR_CHECK_PTHREAD_RECURSIVE_MUTEX): New macro.
* configure.in: Use it.
* include/arch/unix/apr_arch_thread_mutex.h (struct
apr_thread_mutex_t): Drop nested mutex tracking fields.
* locks/unix/thread_mutex.c (apr_thread_mutex_create): Return ENOTIMPL
if lacking recursive mutex support, else create a recursive mutex.
(apr_thread_mutex_lock, apr_thread_mutex_unlock,
apr_thread_mutex_trylock): Remove nested mutex tracking.
* build/apr_threads.m4 (APR_CHECK_PTHREAD_RECURSIVE_MUTEX): Run rather
than just compile the test program.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106085 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
* test/testrand.c (rand_exists): Don't ask for so much random
data.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106082 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106038 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@105962 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Garrett Rooney
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@105944 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@76051 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@76045 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
* tables/apr_hash.c (find_entry): Fix gcc warning.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@71502 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@65594 13f79535-47bb-0310-9956-ffa450edef68
|