| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
of returning an already closed FD from apr_os_file_get()/apr_os_sock_get().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@831641 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@818841 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
* configure.in
Add check for fdatasync.
* file_io/unix/readwrite.c
(apr_file_datasync): Use fsync when fdatasync is not available.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@793192 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@784633 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Patch by Stefan Fritsch <sf sfritsch.de>.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@783958 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@749810 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@748565 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@748371 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@748361 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
associated functions, such as dup3(), accept4(), epoll_create1() etc., or
simply set CLOEXEC flag using fcntl().
Patch by Stefan Fritsch <sf sfritsch.de> and
Arkadiusz Miskiewicz <arekm pld-linux.org>.
PR 46425.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@747990 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
PR 46303.
Patch by Carlo Marcelo Arenas Belon <carenas sajinet.com.pe>.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@731793 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unlinking the file. Badness ensued.
* file_io/unix/open.c:
(file_cleanup): add new parameter to tell whether the function was
invoked by the child's cleanup, or the regular cleanup. use it to
determine whether to unlink the file.
(apr_unix_file_cleanup, apr_unix_child_file_cleanup): pass appropriate
value to file_cleanup().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@712674 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Fixed args & return value for Windows. re: PR 44841
git-svn-id: https://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: https://svn.apache.org/repos/asf/apr/apr/trunk@679630 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@651721 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Put buffer sizing directly into the only function that uses it.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@651704 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
PR #44193
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@651174 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@589846 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585348 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And refine the file times down to apr_time_t resolution if supported
by a st_atimensec or st_atim.tv_nsec value by the OS. Additional
msec implementations are possible if exposed through autoconf.
PR: 41678
Authored by: William Rowe, Nicklas Edmundsson <nikke acc.umu.se>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585343 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584543 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
compile).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584497 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This is why you don't do things like this, in/out is ambiguous.
(you write things in-to a pipe and read things out-of a pipe,
well except in APR ;-)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584489 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which should replace apr_file_pipe_create() in apr 2.0. Trivial,
this sets up blocking and nonblocking flavors of either pipe end.
Obviously this code shrinks up threadproc/*/proc.c quite nicely.
This eliminates a major class of portability concerns. On Win32,
I take this one step further and fix the pipe creation logic so
that nonblock pipes are always set to timeout of 0, per Eric's
earlier proc.c patch.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584487 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
decomposed Unicode, encoded using UTF-8. Shortest rep
also uses composed UTF-8
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@565326 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
a plain write.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@553682 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Brian J. France <list firehawksystems.com>
Reviewed by: wrowe, bojan
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543555 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
PR 41119.
Original patches by Davi Arnaut.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@538045 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@538019 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@538009 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@537402 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Patches by Davi Arnaut.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@537393 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
buffered file.
Fix by Davi Arnaut for bug #40963
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@537066 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
PR: 41238
Submitted by: Lucian Adrian Grijincu <Lucian.Grijincu gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@529816 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
non-public functions shouldn't have the apr_ prefix; wrap a long line.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@524822 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@524355 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@513205 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
than writing underneath the write buffer.
PR: 41197
Submitted By: Davi Arnaut
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@512882 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
spelling in comment.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@493799 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Kenneth Golomb <KGolomb TradeCard.com>
PR: 40818
* file_io/unix/mktemp.c
(gettemp): Use APR_STATUS_IS_EEXIST instead of comparing directly against
APR_EEXIST.
* CHANGES: Note change.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@468055 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a trailing .. element is present without a trailing slash, always
avoid appending a trailing slash.
Solved with hints from Lieven Govaerts <lgo mobsol.be>.
Resolves test fail identified by test/testnames.c commit 424831
Crossports: patch 424914 from Win32
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@448480 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
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@384942 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
apr_status_t, use rv not rc, check lseek return value directly, use
explicit APR_SUCCESS. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@326597 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
apr_file_flush.
* test/testfile.c (test_fail_read_flush): Add test.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@326593 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@326117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
apr_file_buffer_size_get() functions, to support variable buffer sizes for
file handles.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@326116 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
the standard file descriptors with specific flags set. As a consequence we now
also set APR_WRITE and APR_READ as appropriate when using the plain old
apr_file_open_std[err|out|in]() functions.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@321314 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
avoid cases where readdir() is used in place of readdir_r even if
readdir64_r is available.
* file_io/unix/dir.c (apr_dir_read): Use APR_USE_READDIR64_R.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@291973 13f79535-47bb-0310-9956-ffa450edef68
|