summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Tagging 1.6.51.6.5wrowe2018-09-100-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/tags/1.6.5@1840495 13f79535-47bb-0310-9956-ffa450edef68
* Prepare to tag 1.6.5wrowe2018-09-101-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840494 13f79535-47bb-0310-9956-ffa450edef68
* Note non-release of 1.6.4, anticipate lunchtime tag of 1.6.5,wrowe2018-09-102-5/+5
| | | | | | | | explain and credit breaking regression fix for posterity. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840467 13f79535-47bb-0310-9956-ffa450edef68
* Correct cut-n-paste assignment error.wrowe2018-09-081-1/+1
| | | | | | | | Submitted by: rjung Backports: r1840372 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840374 13f79535-47bb-0310-9956-ffa450edef68
* Bump after tag, we are at 1.6.5-devwrowe2018-09-073-2/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840310 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for tagwrowe2018-09-072-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840308 13f79535-47bb-0310-9956-ffa450edef68
* Note user-facing changeswrowe2018-09-071-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840306 13f79535-47bb-0310-9956-ffa450edef68
* Correct copy-paste flaw (inherited by borrowing from readwrite.c) (r1840147)wrowe2018-09-051-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840148 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1834513, in favor of r1840143, which consisted of...wrowe2018-09-051-3/+3
| | | | | | | | | | | | | | Backport the *bugfix* part of r1808457 and further bugfix r1829962, to only manipulate the mutex when opened for XTHREAD. This follows the mutex logic obvious in file_io/win32/readwrite.c This patch ignores the optimizations introduced by r1808457. Submitted by: kotkov, mturk git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840144 13f79535-47bb-0310-9956-ffa450edef68
* Resolve invalid rvalue from void() function, the test is only required in onewrowe2018-08-311-3/+7
| | | | | | | | | | single case of user-provided input, to avoid an index into invalid memory. Backports: 1839769 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839771 13f79535-47bb-0310-9956-ffa450edef68
* Record mergeinfowrowe2018-08-300-0/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839626 13f79535-47bb-0310-9956-ffa450edef68
* Spelling corrections in docs;wrowe2018-08-304-22/+22
| | | | | | | | | | | | | | | | | Pull request #6 docs/APRDesign.html docs/canonical_filenames.html docs/incomplete_types Submitted by: "Bruno P. Kinoshita" <brunodepaulak yahoo.com.br> Pull request #10 misc/unix/errorcodes.c Submitted by: Jimmy Casey <casey.jimmy gmail.com> Backports: r1839622 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839624 13f79535-47bb-0310-9956-ffa450edef68
* Do not forget to escape characters in the documentation of functions that ↵jailletc362018-08-261-5/+5
| | | | | | | | escape characters, otherwise they look as no-op :) Backport of 1839186 from trunk resp. 1839187 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839188 13f79535-47bb-0310-9956-ffa450edef68
* Slightly improve doxygen generated documentation.jailletc362018-08-266-22/+23
| | | | | | | | Add some links to function Backport of r1839182 from trunk resp. r1839183 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839184 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1832203.jailletc362018-08-251-1/+1
| | | | | | | | Fix missing 'args' declaration Backport of r1839113 in trunk resp. r1939116 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839117 13f79535-47bb-0310-9956-ffa450edef68
* If --with-installbuilddir is not supplied, it unconditially overrides the valuerjung2018-08-253-2/+4
| | | | | | | | | | | | | | | | set by APR_SET_LAYOUT. Disable that and stop showing an invalid default value. PR 56090. Patch provided by Michael Osipov. This fixes #11. Backport of r1839068 from trunk resp. r1839069 from 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839070 13f79535-47bb-0310-9956-ffa450edef68
* Fix some doxygen commentsrjung2018-08-252-3/+3
| | | | | | | | | Partial backport of r1834253 from trunk resp. full backport of r1839059 from 1.7.x. Other trunk part goes into apr-util. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839060 13f79535-47bb-0310-9956-ffa450edef68
* Make sure rv is not used uninitialised.rjung2018-08-251-1/+1
| | | | | | | | Backport of r1836235 from trunk resp. r1836236 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839053 13f79535-47bb-0310-9956-ffa450edef68
* * test/teststr.c (overflow_strfsize): Iterate from LONG_MAX downwards,rjung2018-08-251-1/+1
| | | | | | | | | | | avoiding signed integer overflow (undefined behaviour which gcc 8.1 turns into a non-terminating loop). Backport of r1832985 from trunk resp. r1834496 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839050 13f79535-47bb-0310-9956-ffa450edef68
* Fix a potential usage of an un-init variable. (i.e. 'wch')rjung2018-08-251-7/+5
| | | | | | | | | | | | | Up to now, this can NOT happen, because the only caller passes -1 for 'args'. So axe this useless parameter to avoid troubles. See PR 60086. Backport of r1832203 from trunk resp. r1839047 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839048 13f79535-47bb-0310-9956-ffa450edef68
* Tidyup of ugly practice that stuck out in review of 1.6 changes.niq2018-08-241-6/+7
| | | | | | | No functional change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1838963 13f79535-47bb-0310-9956-ffa450edef68
* remove the wrong proposal in STATUS and commit a fix for my crash problems.jfclere2018-06-272-7/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1834513 13f79535-47bb-0310-9956-ffa450edef68
* proposal for review.jfclere2018-06-191-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1833786 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1822357 from trunk:ylavic2018-04-041-10/+10
| | | | | | | | | apr_pools: make index(es) an apr_size_t everywhere. Avoids "conversion from 'size_t' to 'apr_uint32_t', possible loss" warnings. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1828361 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1827534 from trunk:ylavic2018-04-032-1/+12
| | | | | | | | | | | | | configure: fix detection of net/if.h on openbsd. Depends on sys/socket.h. PR-61976. Proposed by: David Carlier <devnexen gmail.com> Reviewed by: ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1828284 13f79535-47bb-0310-9956-ffa450edef68
* Update config.guess and config.sub fromrjung2018-01-042-26/+56
| | | | | | | | | | https://git.savannah.gnu.org/cgit/config.git. Backport of r1820186 from trunk resp. r1820187 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1820188 13f79535-47bb-0310-9956-ffa450edef68
* Happy New Year 2018rjung2018-01-042-2/+2
| | | | | | | | Backport of r1820080 from trunk resp. r1820081 from 1.7.x. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1820082 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1819857, r1819858, r1819860, r1819861, r1819934, r1819935 from trunk:ylavic2018-01-034-52/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testpoll: check that the wakeup pipe is still in the pollset after returning from poll(), e.g. APR_POLLSET_PORT should re-arm it automatically. poll, port: re-add the wakeup pipe to the pollset after it triggered. Just like user fds (file, socket), otherwise it's one shot only (PR-61786). Corresponding test committed in r1819857. poll, port: no need to release and re-acquire the lock in between walking the pollset and handling the dead ring, all is simple/fast/nonblocking ops. Also, set types of "i" and "j" respectively to the ones of nget and *num. poll, port: follow up to r1819860. This test is redundant now, axe it (no functional change). poll, kqueue: save a pollfd (mem)copy per returned event. poll, epoll: pollset's pfd is not modified on poll(), mark it const. Reviewed/backported by: ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1819938 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1813286 from trunk:jorton2017-10-253-2/+50
| | | | | | | | | | | | | * network_io/unix/sockaddr.c (apr_parse_addr_port): Fix regression in scope id parsing introduced in r1683521. * test/testipsub.c (test_parse_addr_port): New function. Submitted by: rjung, jorton git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1813288 13f79535-47bb-0310-9956-ffa450edef68
* Update STATUSeswrowe2017-10-231-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1813022 13f79535-47bb-0310-9956-ffa450edef68
* And we are at 1.6.4-devwrowe2017-10-182-2/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1812529 13f79535-47bb-0310-9956-ffa450edef68
* Minor STATUS housekeeping, prepare to tagwrowe2017-10-182-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1812525 13f79535-47bb-0310-9956-ffa450edef68
* Also affects clang 5 (and maybe older versions too)jim2017-10-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1811002 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1810452wrowe2017-10-021-1/+1
| | | | | | | | | | Macro doesn't exit here Mirrors backport r1810453 to 1.7.x git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1810569 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1810450 from trunk:jim2017-10-021-0/+5
| | | | | | | | | Get maint mode working again w/ macOS Xcode 9 (clang-900) Reviewed by: jim git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1810451 13f79535-47bb-0310-9956-ffa450edef68
* Fix regex syntaxwrowe2017-09-271-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1809855 13f79535-47bb-0310-9956-ffa450edef68
* Added little but causes silly deltaswrowe2017-09-271-4/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1809852 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1809753 from trunk:ylavic2017-09-261-1/+1
| | | | | | | | | | | pipe: fix apr_file_pipe_create_ex()'s blocking parameter forwarding. Proposed by: Steven Nairn <steven.nairn gmail.com> Reviewed by: ylavic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1809754 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. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1809651 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1808836 from trunk:jorton2017-09-191-1/+1
| | | | | | | | | * test/testipsub.c (test_bad_input): Fix test in r1808832 to match failure code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1808838 13f79535-47bb-0310-9956-ffa450edef68
* Merge 1683521 from trunk:jorton2017-09-111-11/+3
| | | | | | | | | * network_io/unix/sockaddr.c (apr_parse_addr_port): Simplify to use apr_pstrmemdup, no functional change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1808043 13f79535-47bb-0310-9956-ffa450edef68
* Merge 1808039 from trunk:jorton2017-09-113-0/+8
| | | | | | | | | | | | * network_io/unix/sockaddr.c (looks_like_ip): Fail for the empty string. * test/testipsub.c: Test that calling apr_ipsubnet_create with the empty string fails. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1808042 13f79535-47bb-0310-9956-ffa450edef68
* Merge 1805380 from trunk:jorton2017-09-119-39/+39
| | | | | | | | | | * include/arch/unix/apr_arch_poll_private.h, poll/unix/poll/*.c: Constify all apr_pollcb_provider_t and apr_pollset_provider_t structures. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1808041 13f79535-47bb-0310-9956-ffa450edef68
* Bounds-check human-readable date fields (credit: Stefan Sperling)niq2017-09-102-0/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1807976 13f79535-47bb-0310-9956-ffa450edef68
* add testsjim2017-06-301-1/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1800466 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1788929 from trunk:jim2017-06-304-4/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix two issues with apr_file_trunc() for buffered files: - The Win32 implementation incorrectly flushes the buffered writes _after_ truncating a file. Such files will have unexpected data written after the position at which they should've been truncated. PR 51017. (Under Unix, this issue has been fixed in r1044440) - Both Win32 and Unix implementations incorrectly keep the data read into a buffer after the file is truncated. Thus, reading from a file after apr_file_trunc() can return invalid data from the previous file offset. * file_io/win32/seek.c (apr_file_trunc): Flush the write buffer or discard the read buffer before truncating. Propely update the internal file offset (filePtr) and the eof_hit marker. * file_io/unix/seek.c (apr_file_trunc): Discard the read buffer before truncating. * test/testfile.c (test_file_trunc): Extend the checks. Factor out part of this test... (test_file_trunc_buffered_write): ...into this new test. (test_file_trunc_buffered_write2, test_file_trunc_buffered_read): New tests. (testfile): Run the new tests. Patch by: Evgeny Kotkov <evgeny.kotkov {at} visualsvn.com> Submitted by: ivan Reviewed by: jim git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1800458 13f79535-47bb-0310-9956-ffa450edef68
* Rather than fetch-me-a-rock, report all tool check results forwrowe2017-06-091-37/+41
| | | | | | | | | | all the tools on any attempt, then fail if any of the tools are missing/old. Backports: r1798105 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1798210 13f79535-47bb-0310-9956-ffa450edef68
* Fill in the blanks...wrowe2017-06-091-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1798209 13f79535-47bb-0310-9956-ffa450edef68
* And we are on 1.6.3-devwrowe2017-06-092-2/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1798208 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for 1.6.2 tagwrowe2017-06-091-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1798205 13f79535-47bb-0310-9956-ffa450edef68