summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update config.guess and config.sub from1.5.xrjung2018-01-042-26/+56
| | | | | | | | | | | https://git.savannah.gnu.org/cgit/config.git. Backport of r1820186 from trunk resp. r1820187 from 1.7.x resp. r1820188 from 1.6.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1820189 13f79535-47bb-0310-9956-ffa450edef68
* Happy New Year 2018rjung2018-01-042-2/+2
| | | | | | | | | Backport of r1820080 from trunk resp. r1820081 from 1.7.x resp. r1820082 from 1.6.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1820083 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2017-09-252-50/+32
| | | | | | | | | | http://git.savannah.gnu.org/cgit/config.git. Backport of r1809649 from trunk resp. r1809650 from 1.7.x resp. r1809651 from 1.6.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1809652 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2017-04-162-7/+19
| | | | | | | | | | http://git.savannah.gnu.org/cgit/config.git. Backport of r1791598 from trunk resp. r1791599 from 1.6.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1791600 13f79535-47bb-0310-9956-ffa450edef68
* Note initial/current behavior apr_file_copy APIwrowe2017-03-301-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1789564 13f79535-47bb-0310-9956-ffa450edef68
* race conditionjim2017-01-101-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1778147 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2017-01-022-64/+94
| | | | | | | | | | http://git.savannah.gnu.org/cgit/config.git. Backport of r1776998 from trunk resp. 1776999 from 1.6.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1777000 13f79535-47bb-0310-9956-ffa450edef68
* Happy New Year 2017rjung2017-01-022-2/+2
| | | | | | | | Backport of r1776994 from trunk resp. r1776995 from 1.6.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1776996 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1775069 from trunk:ylavic2016-12-191-21/+21
| | | | | | | | | proc_mutex_pthread: simplify (shorten) methods' names by removing the second/double proc_ (consistently with other mechanisms). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1775071 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1762326 from trunk: set native eol for testskiplist.cylavic2016-09-260-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1762329 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1759009 from trunk:covener2016-09-021-1/+2
| | | | | | | | | | | | | | | | | clear the aiocb structure used for asyncio cancel The underlying syscall sanity checks some fields we don't later specify, possibly even some fields that are n/a for a cancel operation, which may result in a cancel call failing. outstanding aysnc I/O requests are cancelled when the fd is closed, but with very long-lived sockets, failing cancels could result in elevated CPU during BP4XAIO of type select or cancel. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1759011 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1671389, r1671513, r1755758 from trunk:ylavic2016-08-105-9/+11
| | | | | | | | | | | | | | | | | | | | | | poll() implementation of apr_pollset_poll(): Return APR_EINTR as appropriate. (APR_SUCCESS was returned instead in that scenario.) [Note backport: the below is a partial revert only] Revert r1671389; apr_pollset_poll() should return APR_SUCCESS and the real event if a real event occurs AND apr_pollset_wakeup() is called before apr_pollset_poll() is called and/or awakened. apr_pollset_poll(): don't return a positive (nay negative in case of error) number of descriptors/events, before the returned descriptors are actually initialized. Submitted by: trawick, ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1755769 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1438959 from trunk:ylavic2016-08-102-2/+2
| | | | | | | | | Minor fixes to quiet valgrind warnings Submitted by: sf git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1755767 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1755746 from trunk:ylavic2016-08-101-3/+0
| | | | | | | | | apr_pollset_poll(): OS/2: follow up to r1755740. The UNIX socket is SOCK_DGRAM, so draining the pipe is another read().. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1755748 13f79535-47bb-0310-9956-ffa450edef68
* Merge r923311, r923320, r1755740 from trunk:ylavic2016-08-101-6/+100
| | | | | | | | | | | | | | | | | | | | | | OS/2: Implement apr_pollset_wakeup() using a unix domain socket. Also adds stubs for apr_poll_method_defname() and apr_pollset_method_name(). OS/2: Protect against NULL dereference if apr_pollset_wakeup() is called for a non-wakeable pollset. apr_pollset_poll(): OS/2: follow up to r923311. Don't return APR_EINTR (woken up) unless we actually read something on the wakeup pipe (which we must drain), and also return APR_SUCCESS if at least some other event is available simultaneously. Submitted by: bjh, ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1755743 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1750374 from trunk:covener2016-06-272-3/+9
| | | | | | | | | | | | Fix a case where the cleanup for a pollset w/o the thread-safe flag would try to zap a random/garbage message queue identifier. In httpd, this could happen with e.g. mod_cgi's short-lived, non-threadsafe pollset. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1750377 13f79535-47bb-0310-9956-ffa450edef68
* poll/unix/z_asio.c:271]: (style) Suspicious condition (assignment +covener2016-05-191-2/+2
| | | | | | | | | | comparison); Clarify expression with parentheses. PR59582 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1744604 13f79535-47bb-0310-9956-ffa450edef68
* apr_proc_mutex-unix: backport r1733775 from trunk (partially).ylavic2016-04-122-20/+43
| | | | | | | | Includes some fixes to unix proc_mutexes contained in the above commit (including follow up to r1738800), but without non-backportable (API) changes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1738819 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1733694, r1733708 from trunk:ylavic2016-04-122-13/+57
| | | | | | | | | | | | | | | | | | apr_proc_mutex-pthread: Refcount shared mutexes usage to avoid destruction while still is use by some process(es). PR 49504. apr_proc_mutex-pthread: follow up to r1733694. Simplify #if/#else/#endif logic, no functional change. Note: this merge additionnaly fixes the munmap()ing size of the pthread_interproc mutex to match the mmap()ed one, which was done in trunk by r1733775 (barely related and backported later), hence the additional change for *this* bugfix to be self contained. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1738800 13f79535-47bb-0310-9956-ffa450edef68
* Clarify the behaviour of apr_hash_set().minfrin2016-03-251-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1736554 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2016-01-012-32/+73
| | | | | | | | | | http://git.savannah.gnu.org/cgit/config.git. Backport of r1722557 from trunk resp. r1722558 from 1.6.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1722559 13f79535-47bb-0310-9956-ffa450edef68
* Happy New Year 2016rjung2016-01-012-2/+2
| | | | | | | | Backport of r1722547 from trunk resp. r1722549 from 1.6.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1722550 13f79535-47bb-0310-9956-ffa450edef68
* Backport r1710307jailletc362015-10-244-8/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1710309 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1707712 from 1.6.x branch:trawick2015-10-092-18/+60
| | | | | | | | | | | | | | | | | modest apr.h improvements for Windows, from various trunk commits * Ignore certain warnings with MSVC. * Align whitespace and improve some comments * Conditionally include additional header files as on Unix (none of these will be included without modifying defines) (The APR_HAVE_SOCKADDR_UN change to apr.hwc is not appropriate for this branch.) PR: this is tiny help for 58476 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1707717 13f79535-47bb-0310-9956-ffa450edef68
* For buildbot's sake, keep these non-fatal when scriped, for the time beingwrowe2015-09-091-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1702075 13f79535-47bb-0310-9956-ffa450edef68
* Unusual case I tripped over in re-buildconf'ing a tree and preparing to buildwrowe2015-09-091-0/+9
| | | | | | | | | out-of-tree. This deserves a non-lethal alert if .h.in results are picked up. Backports: r1702061 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1702062 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1696767 from trunk:sf2015-08-201-4/+4
| | | | | | | | | | | | | Fix comments for fcntl lock apr_file_lock() should lock the whole file. The code uses SEEK_SET which means 'start of file' and is correct, but the comments describe the SEEK_CUR behavior. Fix comments. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1696770 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1696141 from 1.6.x:sf2015-08-162-1/+4
| | | | | | | | | | | | | | | | | | Merge r1696140 from trunk: fix comparison of sin6_addr One cannot assume that sin6_addr is located at the start of sa_data. For example, glibc puts sin6_flowinfo there. Fix by casting to the proper type first. Reported by Andre Naujoks <nautsch2 gmail com> via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759534 ------------------------------------------------------------------------ git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1696146 13f79535-47bb-0310-9956-ffa450edef68
* Adjustments of instructions for -1 suffixeswrowe2015-06-251-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1687637 13f79535-47bb-0310-9956-ffa450edef68
* A minor error affecting 9x deprecated builds. Enough to cause Stefan's report?wrowe2015-06-251-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1687620 13f79535-47bb-0310-9956-ffa450edef68
* Merged r1685929 from trunk:brane2015-06-173-2/+40
| | | | | | | | | apr_filepath_merge: Fix truename length calculation on Windows in cases where the "short" name variant is actually longer than the "long" or "true" name. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1685988 13f79535-47bb-0310-9956-ffa450edef68
* Fix indentjailletc362015-06-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1683223 13f79535-47bb-0310-9956-ffa450edef68
* 1.5.2 released todaytrawick2015-04-291-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1676751 13f79535-47bb-0310-9956-ffa450edef68
* Give Windows consumers of the static library a hint that theytrawick2015-04-281-0/+5
| | | | | | | might not be able to link without rpcrt4. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1676647 13f79535-47bb-0310-9956-ffa450edef68
* 1.5.2 is tagged; bump to 1.5.3 (development)trawick2015-04-252-2/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1676022 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for the 1.5.2 tagtrawick2015-04-252-2/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1676020 13f79535-47bb-0310-9956-ffa450edef68
* Add missing changes for r1676015trawick2015-04-251-0/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1676016 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1676013 from trunk:trawick2015-04-251-3/+33
| | | | | | | | | | | | | | SECURITY: CVE-2015-1829 (cve.mitre.org) APR applications using APR named pipe support on Windows can be vulnerable to a pipe squatting attack from a local process; the extent of the vulnerability, when present, depends on the application. Initial analysis and report was provided by John Hernandez of Casaba Security via HP SSRT Security Alert. Submitted by: ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1676015 13f79535-47bb-0310-9956-ffa450edef68
* Remove doubled testskiplist.obj, quiet comiler.gsmith2015-04-241-1/+1
| | | | | | | My fault surely git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1675754 13f79535-47bb-0310-9956-ffa450edef68
* Backport r1675751 from trunkgsmith2015-04-242-49/+12
| | | | | | | | | | | | Fix errors when building on Visual Studio 2013 while maintaining the ability to build on Visual Studio 6 with Windows Server 2003 R2 SDK. PR: 57191 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1675752 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1675670: CHANGES entry.ylavic2015-04-231-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1675694 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1675668 from trunk.ylavic2015-04-231-1/+14
| | | | | | | | Switch to generic atomics for (unpatched) Solaris 10 not exporting some atomic functions. PR 55418. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1675670 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1675656 from trunk.ylavic2015-04-231-3/+3
| | | | | | testatomic: silence Sun compiler warning. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1675662 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1675644 from trunk.ylavic2015-04-231-2/+4
| | | | | | testskiplist: silence Sun compiler warning. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1675651 13f79535-47bb-0310-9956-ffa450edef68
* backport minor whitespace tweaks from trunktrawick2015-04-231-7/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1675573 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1672575 from trunk.ylavic2015-04-101-4/+3
| | | | | | | | skiplist: avoid (undefined) unsigned to signed conversion and save cycles in the hot path get_b_rand(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1672577 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1672495 from trunk.ylavic2015-04-091-17/+38
| | | | | | | | | | testskiplist: axe buggy compare function acomp() and associated test. Instead, define and use ecomp() which bases uniqueness on both elem's a and b, and test it with multiple duplicates inserted/found/removed in arbitray order. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1672500 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1672366 from trunk.ylavic2015-04-091-4/+13
| | | | | | | | | | | | skiplist: fix the minimum height (to one). The height of a skiplist is always at least one, for the top node, even if our implementation may delay its creation on the first insert or delete it on the last remove (for optimization purpose). This also helps apr_skiplist_remove() to never return zero (not found) when it deletes the last node. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1672384 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1672354 from trunk.ylavic2015-04-092-33/+37
| | | | | | | | skiplist: follow up to r1664769. Fix insert_compare() returning NULL on the very first insertion (top is NULL). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1672362 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1671514 from trunk:trawick2015-04-071-4/+30
| | | | | | | | Test the scenario where apr_pollset_poll() is called after a real event occurs AND apr_pollset_wakeup() has been called. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1671963 13f79535-47bb-0310-9956-ffa450edef68