| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Use the APR_FOPEN_* constants instead of the deprecated APR_* constants
within code inside the test suite.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@920008 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
let HP-UX on IA64 fall through to the default unix case, using .so instead of .sl.
http://docs.hp.com/en/B2355-90968/linkerdifferencesiapa.htm
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@895523 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
add testcases for method fallback logic in apr_{pollcb|pollset}_create_ex(),
including one for a crash fixed in r834029
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836106 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix incorrect assumptions in pollset/pollcb tests:
- polling won't necessary detect the status change immediately
after an I/O operation
- a single poll call won't necessarily return multiple status
changes after multiple I/O operations
and whitespace fixes
Submitted by: Neil Conway <nrc cs.berkeley.edu>
Reviewed by: trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836104 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
don't assume child process can both connect and close before parent can
both accept and look for EOF
(fixes intermittent failure seen on Linux and OpenSolaris)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@833920 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add apr_socket_is_connected to detect whether the remote side of a socket
is still open. The origin of apr_socket_is_connected is r473278 from
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c
in httpd.
* Improve the documentation
Suggested by: jorton
* Improve the documentation even further
Reviewed by: jim
* include/apr_network_io.h,
* network_io/unix/socket_util.c (apr_socket_atreadeof): Renamed from
apr_socket_is_connected; adjusted to return an apr_status_t error
code, and pass an "at EOF" flag via an output parameter.
* test/testsock.c (test_atreadeof): Renamed from test_is_connected,
adjusted for new API.
Reviewed by: jorton, rpluem
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@826089 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@825913 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@822048 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821960 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821954 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821952 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Pass environment to children in testsock, testshm and testproc.
Further fixes for PR 47590.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@809859 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
One more place where passing in the environment may help with ICC.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@800628 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Pass default environment in testflock and testoc (for ICC compiled stuff).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@799500 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
_NonAppStop().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@794365 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@789991 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
it seems worth depositing it here, although the list is redundant for
our purposes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@719690 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
causing testdso and testflock to fail and testpipe to hang.
type less, accomplish more...
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@701392 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@684616 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Fixed args & return value for Windows. re: PR 44841
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@679652 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
PR 44841.
Patch by Mark Heily <mark heily.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@679630 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
size for linux on ppc64 architecture is sometimes 64k depending on how the
kernel was compiled. The increase in the block size does not harm any
platforms where this test worked before as 64k is a multiple of 16k.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@669111 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@668878 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@662326 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of all of apr are already Copyright Ryan Bloom; this is captured in the
commit history. However this statement is no longer complete as the code
has been modified by other committers, the generic statement is more
appropiate.
If there is a canonical home for abts, this instead should be noted in
these source files. I'm not aware Ryan is maintaining one, apparently
http://rkbloom.net/os.html is the homepage, but the links are broken.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@661023 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@658632 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@658631 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@647562 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@647540 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This fails on ancient OS's, but then again, ancient flavors won't
be compiling to x64.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@606955 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
of ABTS_INT_EQUAL et al
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@596028 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
APR_SUCCESS == 0
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@596027 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
to Windows 2000 (when sparse was introduced) and later.
This reverts a bogus test case.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592970 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592306 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Ask for it, either way.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592305 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
it provides to the caller. Document these assumptions by
way of a proper test case, cleaning up irrespective of which
implementation is available on this platform.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592258 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
and take a different approach. _destroy appears to effect
a _remove in the first place.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592252 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
we can no longer attach to a now-removed shm resource.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592245 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
for portability. (As the comment hints, a non-portable alternative
does exist).
And be consistent in the use of @remark's --- although I suspect
that we need to review @remarks and transition many to @warning.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592235 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
gmail.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592232 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
to end users of the library. Good point, however, for an @tip.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592215 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous testhash.c comments indicate an underlying problem:
"I don't know why these are out of order, but they are. I would probably
consider this a bug, but others should comment."
The hash iterator functions do not promise/attempt any ordering.
Alphabetically qsort all the dumped hashes using strcmp to provide
a testable result set.
(wrowe adds; I thought everyone knew better than to use try to
get ordered results out of hashes ;-)
Submitted by: David Jones <oscaremma gmail.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@591164 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@590592 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
r589929; no functional change.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@590137 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
for myself and others to verify that these are good checks to determine if
we can use it. I'd love if someone with zfs installed would check it out.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589929 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(AIX c compiler barfs in picky mode)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589844 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589838 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@588445 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@588429 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@588420 13f79535-47bb-0310-9956-ffa450edef68
|