| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905414 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1559343 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: https://svn.apache.org/repos/asf/apr/apr/trunk@669111 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
to Windows 2000 (when sparse was introduced) and later.
This reverts a bogus test case.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592970 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Ask for it, either way.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592305 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
r589929; no functional change.
git-svn-id: https://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: https://svn.apache.org/repos/asf/apr/apr/trunk@589929 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
win32 behavior. This flag may (AFAIK) be ignored for unix since
AIUI unix doesn't require anything special?
It is only necessary on Win32 to pass this flag once; but we need
to anticipate that other platforms special-handling of sparse may
require the apr_file_open() call subsequently to be aware that the
file is to be handled in this way.
FYI the style on testlfs is horrendous, but I only affected the
apr_file_open() changes required of this patch. Why on earth
do we illustrate deprecated constants in our own test/s ???
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584464 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
files.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@375919 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@289608 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
is irrelevant to if LARGEFILES is defined.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@280469 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@190594 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
testutil.c reported. Not very useful. This change adds the passing of
the (correct) line number and also a macro to ease said passing.
I've changed all instances of apr_assert_success to use the new macro, but
not all the tests build on this platform so others should check that all
is well for them.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65171 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
prevent spurious test failures since ABTS_NOT_IMPL doesn't longjmp
away.
(test_open): Only set 'madefile' on success.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
a test that is segfaulting in testshm. That will need to be fixed.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65095 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
and it prints output while running the test. Also, if a test fails the
rest of the test function is run, allowing for proper cleanup. Finally,
it is possible to call the same function multiple times with different
data, and each call is considered a separate test.
This is the first of a multi-step process to get a more useful test suite.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65091 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
before testappend.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65042 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
gives EINVAL when passed the 8gb offset.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65031 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65028 13f79535-47bb-0310-9956-ffa450edef68
|
|
* configure.in: Check for off64_t and necessary LFS functions, define
apr_off_t as off64_t where available. Add --disable-lfs flag.
Forward-port changes from 0.9.5 to define apr_off_t as long on systems
systems with a 32-bit off_t which don't have LFS enabled.
* include/apr.h.in: Let configure define APR_HAS_LARGE_FILES.
* include/arch/netware/apr_arch_file_io.h: Redefine lseek and
ftruncate.
* include/arch/unix/apr_arch_file_io.h: Redefine stat, lstat, fstat,
lseek, ftruncate here; define struct_stat.
* file_io/unix/filestat.c: Use struct_stat.
* file_io/unix/mktemp.c: Use mkstemp64 where available.
* file_io/unix/open.c (apr_file_open): Use O_LARGEFILE by default when
LFS is enabled.
* file_io/unix/readwrite.c, file_io/unix/seek.c: Don't redefine lseek
and ftruncate here.
* mmap/unix/mmap.c (apr_mmap_create): Use mmap64 if available;
otherwise check for overflow when LFS is enabled.
* network_io/unix/sendrecv.c (apr_socket_sendfile) [Linux/HPUX]: Use
sendfile64 if available; otherwise check for overflow when LFS is
enabled. [solaris]: Use sendfilev64/sendfilevec64_t.
* test/Makefile.in, test/test_apr.h, test/testlfs.c: Add tests.
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65027 13f79535-47bb-0310-9956-ffa450edef68
|