diff options
author | Ivan Zhakov <ivan@apache.org> | 2022-06-30 16:58:11 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2022-06-30 16:58:11 +0000 |
commit | 8117ad94f5e7a9993d45ec970f1624308d8db3b8 (patch) | |
tree | 4939e5a9f0b58c938fae96023f74d4080eb1da4d /file_io/win32/open.c | |
parent | 918e0e996cd13bf3c75118b06096b7c1c754f6a3 (diff) | |
download | apr-8117ad94f5e7a9993d45ec970f1624308d8db3b8.tar.gz |
On 1.8.x branch: Merge r1808456 from trunk:
Win32: Don't seek to the end when opening files with APR_FOPEN_APPEND.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.8.x@1902377 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32/open.c')
-rw-r--r-- | file_io/win32/open.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/file_io/win32/open.c b/file_io/win32/open.c index 3c00bfc79..f1a46286d 100644 --- a/file_io/win32/open.c +++ b/file_io/win32/open.c @@ -445,7 +445,6 @@ APR_DECLARE(apr_status_t) apr_file_open(apr_file_t **new, const char *fname, if (flag & APR_FOPEN_APPEND) { (*new)->append = 1; - SetFilePointer((*new)->filehand, 0, NULL, FILE_END); } if (flag & APR_FOPEN_BUFFERED) { (*new)->buffered = 1; |