summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prepare to roll 0.9.70.9.7wrowe2005-09-260-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/tags/0.9.7@291729 13f79535-47bb-0310-9956-ffa450edef68
* Bump for 0.9.7 tagwrowe2005-09-262-3/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@291728 13f79535-47bb-0310-9956-ffa450edef68
* Backport the 1.x change to drop awk header parsing, thiswrowe2005-09-262-31/+63
| | | | | | | | | | | 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
* Merge r291339 from trunk:jorton2005-09-243-0/+32
| | | | | | | | | | * 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
* Backport the apr_procattr_addrspace_set() API to allow a platform to specify ↵bnicholes2005-09-217-4/+48
| | | | | | | | 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
* Win32: fix apr_proc_mutex_trylock() to handle WAIT_TIMEOUT,wrowe2005-09-212-0/+6
| | | | | | | | | | | | 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
* Merge r234013, r239221 from trunk:jorton2005-09-023-2/+86
| | | | | | | | | | | | | | | * 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
* Merge r219635, r219667, r239390, r239574 from trunk:jorton2005-08-244-18/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Backport from trunk:trawick2005-08-231-1/+11
| | | | | | | | 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
* Refactor Win32 condition variables code to address bugs.wrowe2005-07-223-65/+22
| | | | | | | | | | 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
* Bug #33844: OS/2: file opened with APR_CREATE would be truncated if APR_APPENDbjh2005-07-041-6/+4
| | | | | | | | | 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
* OS/2: Fix crash in apr_proc_create with non-shell type process creation wherebjh2005-07-031-1/+2
| | | | | | | | | | 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
* OS/2: Using apr_file_rename() to replace one file with another doesn't workbjh2005-06-291-1/+1
| | | | | | | | | | | 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
* Update remaining 2004 copyright notices.jorton2005-06-145-5/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@190597 13f79535-47bb-0310-9956-ffa450edef68
* Support APR_SO_SNDBUF and APR_SO_RCVBUF on Windows.trawick2005-06-142-0/+15
| | | | | | | | 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
* send and receive buffer sizes are not flags, and callertrawick2005-06-141-10/+4
| | | | | | | | | | | | | | | 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
* Merge r179786 from trunk:jorton2005-06-031-1/+8
| | | | | | | | | | * 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
* Disable poll() on all Darwin versions for now, because it is either broken ↵wsanchez2005-05-311-6/+1
| | | | | | or weak sauce. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@179279 13f79535-47bb-0310-9956-ffa450edef68
* Backport r178340 from trunk:wsanchez2005-05-282-8/+11
| | | | | | | | | | | | | | | | 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
* fix typojwoolley2005-05-261-1/+1
| | | | | | | Submitted by: dlr git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@178706 13f79535-47bb-0310-9956-ffa450edef68
* Backport r178650 from trunk, disable poll only on Mac OS X < 10.4.pquerna2005-05-261-2/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@178654 13f79535-47bb-0310-9956-ffa450edef68
* Merge r178386 from trunk:jorton2005-05-251-0/+2
| | | | | | | | | * 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
* Merge r170395 from trunk:jorton2005-05-161-19/+25
| | | | | | | | | | * 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
* Disable some default LibC debugging code when compiling optimizedbnicholes2005-04-292-2/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@165341 13f79535-47bb-0310-9956-ffa450edef68
* Update the link-time copyright statementbnicholes2005-04-151-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@161503 13f79535-47bb-0310-9956-ffa450edef68
* Merge r109326 from trunk:jorton2005-03-041-0/+6
| | | | | | | | * 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
* Fix detection of rwlocks on Mac OS X.trawick2005-02-212-1/+3
| | | | | | | | 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
* Move on to 0.9.7-dev.jerenkrantz2005-02-042-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151423 13f79535-47bb-0310-9956-ffa450edef68
* Onward ho to 0.9.6.jerenkrantz2005-02-041-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151421 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-04304-310/+614
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151409 13f79535-47bb-0310-9956-ffa450edef68
* Merge r151340 from trunk:jorton2005-02-041-1/+4
| | | | | | | | * 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
* grab this feature from APR >= 1.0:trawick2005-01-199-4/+69
| | | | | | | | 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
* Temporarily work around a conflict between 0.9 and 1.0 of apr.expminfrin2005-01-171-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@125413 13f79535-47bb-0310-9956-ffa450edef68
* Add the major version number to the package name so that packages can be ↵minfrin2005-01-061-1/+1
| | | | | | installed in parallel. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@124439 13f79535-47bb-0310-9956-ffa450edef68
* Add an RPM spec file.minfrin2004-12-163-0/+123
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@122568 13f79535-47bb-0310-9956-ffa450edef68
* Fix the line ending status on the solaris package filesminfrin2004-12-160-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@112364 13f79535-47bb-0310-9956-ffa450edef68
* Include the addition of the Solaris packageminfrin2004-12-161-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@112255 13f79535-47bb-0310-9956-ffa450edef68
* Add a script to build Solaris package files of APRminfrin2004-12-144-0/+99
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@111871 13f79535-47bb-0310-9956-ffa450edef68
* Fixing various compiler errors when compiling against the latest version of ↵bnicholes2004-11-292-2/+2
| | | | | | LibC SDK git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106919 13f79535-47bb-0310-9956-ffa450edef68
* property cleanupnd2004-11-240-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106489 13f79535-47bb-0310-9956-ffa450edef68
* property cleanupnd2004-11-246-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106485 13f79535-47bb-0310-9956-ffa450edef68
* Merge r65157, r65158 from trunk: (fixing random lockups in pool-debugjorton2004-11-214-112/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge r64682 from trunk:jorton2004-11-211-7/+3
| | | | | | | | | * 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
* Reorganize the apr project 0.9 brancheswrowe2004-11-200-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@106038 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.APR_0_9_BRANCHjorton2004-11-2039-270/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@105962 13f79535-47bb-0310-9956-ffa450edef68
* tweak textjwoolley2004-11-201-1/+1
| | | | | | | 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
* * include/apr_version.h: Bump to 0.9.6-dev.jerenkrantz2004-11-161-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@76051 13f79535-47bb-0310-9956-ffa450edef68
* * include/apr_version.h: Remove -isdev #define in preparation for 0.9.5.jerenkrantz2004-11-161-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@76045 13f79535-47bb-0310-9956-ffa450edef68
* Merge r71501 from trunk:jorton2004-11-151-1/+1
| | | | | | | | * 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
* Merged trunk r65572 to APU_0_9_BRANCH.brane2004-11-142-1/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@65594 13f79535-47bb-0310-9956-ffa450edef68