| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/tags/1.6.5@1840495 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840494 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840310 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840308 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840306 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840148 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839626 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
No functional change.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1838963 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1834513 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1833786 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1813022 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1812529 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1812525 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1811002 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1809855 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1809852 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1807976 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1800466 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1798209 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1798208 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1798205 13f79535-47bb-0310-9956-ffa450edef68
|