summaryrefslogtreecommitdiff
path: root/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* * Add CHANGES entry for r1909474, r1909585, r1909586, r1909590Ruediger Pluem2023-05-081-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1909677 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: Drop my email from the changelog entries, for consistency.Evgeny Kotkov2023-04-121-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1909091 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: Remove entries that were released in APR 1.7.3.Evgeny Kotkov2023-04-121-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1909090 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1808456 (Win32: Don't seek to the end when opening files withEvgeny Kotkov2023-04-121-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | APR_FOPEN_APPEND). While this change fixed an issue where Windows and Unix reported different offsets after opening files for append, it also caused a regression: for files opened with APR_FOPEN_APPEND | APR_FOPEN_BUFFERED, flushing their contents would cause the contents to be written at offset 0, rather than appended. This happens because flushes and regular writes use different code paths. And while regular writes guarantee that an append will happen to the end of the file, a buffer flush uses a regular WriteFile(), assuming the file pointer has been properly set before. To fix both issues, we'd probably need to rework this part and make all writes use the same approach. But for now let's revert this change to fix the regression, that was also reported in [1]. I'll add a regression test for this problem separately. [1] https://lists.apache.org/thread/56gnyc3tc0orjh5mfsqo9gpq1br59b01 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1909088 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1897207: CHANGES entry.Yann Ylavic2023-03-201-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908592 13f79535-47bb-0310-9956-ffa450edef68
* Follow to r1908433: CHANGES entry.Yann Ylavic2023-03-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908588 13f79535-47bb-0310-9956-ffa450edef68
* * Add CHANGES entry for r1908248 [skip ci]Ruediger Pluem2023-03-131-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908336 13f79535-47bb-0310-9956-ffa450edef68
* * Add changes entry for r1907566 [skip ci]Ruediger Pluem2023-03-071-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908170 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: Fix typo.Ivan Zhakov2023-02-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1907467 13f79535-47bb-0310-9956-ffa450edef68
* Fix potential handle leak when apr_proc_create() is used from from multipleIvan Zhakov2023-01-211-0/+3
| | | | | | | | | | | threads on Windows. * threadproc/win32/proc.c (apr_proc_create): Close our side of pipes before releasing lock: otherwise they could like to other process when apr_proc_create() is used from from multiple threads. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1906885 13f79535-47bb-0310-9956-ffa450edef68
* apr_proc_create(): Fix incorrect error handling when pipes are redirectedIvan Zhakov2023-01-211-0/+3
| | | | | | | | | | | on Windows. * threadproc/win32/proc.c (apr_proc_create): Save last error immediately after CreateProcessAsUserW()/ CreateProcessW() call, otherwise it can be lost by later calls. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1906863 13f79535-47bb-0310-9956-ffa450edef68
* * CHANGES: Fix typo.Ivan Zhakov2022-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902371 13f79535-47bb-0310-9956-ffa450edef68
* win32: Fix potential race condition in apr_thread_create.Ivan Zhakov2022-06-271-0/+2
| | | | | | | | | | | * CHANGES: Add changelog entry. * threadproc/win32/thread.c (apr_thread_create): Create suspended thread, initialize apr_thread_t->td and only after that resume thread. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902277 13f79535-47bb-0310-9956-ffa450edef68
* win32: Fix double free on exit when apr_app is used on Windows. [Ivan Zhakov]Ivan Zhakov2022-06-191-0/+2
| | | | | | | | | | * CHANGES: Add changelog entry. * misc/win32/apr_app.c (wmain): Do not free _wenviron -- MSVCRT automatically free 'initial' environment block on exit. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902059 13f79535-47bb-0310-9956-ffa450edef68
* win32: Fix attempt to free invalid memory on exit when apr_app is used.Ivan Zhakov2022-06-191-0/+3
| | | | | | | | | * CHANGES: Add changelog entry. * misc/win32/apr_app.c (wmain): Allocate separate heap entry for every environment variable. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902058 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: Remove change backported to 1.8.x branch in r1902044.Ivan Zhakov2022-06-181-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902046 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: Remove change backported to 1.8.x branch in r1902043.Ivan Zhakov2022-06-181-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902045 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1896717: Add CHANGES entry.Ivan Zhakov2022-06-161-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1901989 13f79535-47bb-0310-9956-ffa450edef68
* Prefer posix shared mem over SysV in all cases:Jim Jagielski2022-05-181-4/+7
| | | | | | | Have name based order same as anon git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1901037 13f79535-47bb-0310-9956-ffa450edef68
* Optimize apr_file_mtime_set() on Windows.Ivan Zhakov2022-01-021-0/+2
| | | | | | | | | * file_io/win32/filestat.c (apr_file_mtime_set): Pass NULL as ATIME and CTIME when calling SetFileTime() to prevent changing ATIME and CTIME instead of retrieving these times using GetFileTime(). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1896623 13f79535-47bb-0310-9956-ffa450edef68
* Since runtime SCTP detection is dependent on kernel configuration, addJoe Orton2021-10-121-0/+4
| | | | | | | | | | | | | | flags to make SCTP support reliable: * build/apr_network.m4 (APR_CHECK_SCTP): Add --disable-sctp flag to forcibly disable SCTP support, and --enable-sctp to fail configure if is SCTP support is requested but not available. Submitted by: Lubos Uhliarik <luhliari redhat.com>, jorton Github: closes #28 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894167 13f79535-47bb-0310-9956-ffa450edef68
* apr_dbm: Add dedicated apr_dbm_get_driver() function that returnsGraham Leggett2021-06-211-0/+4
| | | | | | | | details of the driver selected and any error encountered. Add the apr_dbm_open2() function that references the driver. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1890952 13f79535-47bb-0310-9956-ffa450edef68
* Remove Windows apr_mmap_t members pstart, psize and poffset.Yann Ylavic2021-03-021-0/+3
| | | | | | | They are only used locally in apr_mmap_create(). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1887062 13f79535-47bb-0310-9956-ffa450edef68
* Align apr_mmap()ing offset to a page boundary. PR 65158.Yann Ylavic2021-03-021-0/+2
| | | | | | | | | | | | | | | This is requirement for unix systems, and otherwise can cause failures or undefined behaviour with some filesystems. Add apr_mmap_t->poffset on unixes to track the offset to the previous page, relative to the user requested/actual offset. This allows ->mm and ->size to still point to the actual data, while munmap() still deletes the full range from the start of the page. Tests updated accordingly. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1887060 13f79535-47bb-0310-9956-ffa450edef68
* APR's configure script uses AC_TRY_RUN to detect whether the return typeGraham Leggett2020-03-101-0/+7
| | | | | | | | | | of strerror_r is int. When cross-compiling this defaults to no. This commit adds an AC_CACHE_CHECK so users who cross-compile APR may influence the outcome with a configure variable. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1875065 13f79535-47bb-0310-9956-ffa450edef68
* Add a cache check with which users who cross-compile APRGraham Leggett2020-03-101-0/+4
| | | | | | | | can influence the outcome of the /dev/zero test by setting the variable ac_cv_mmap__dev_zero=yes git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1875062 13f79535-47bb-0310-9956-ffa450edef68
* apr_crypto_commoncrypto: Remove stray reference to -lcrypto thatGraham Leggett2019-11-061-0/+3
| | | | | | | prevented commoncrypto being enabled. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1869486 13f79535-47bb-0310-9956-ffa450edef68
* CHANGES: Link to APR 1.7.x and APR-util 1.7.x changelog.Ivan Zhakov2019-10-151-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1868478 13f79535-47bb-0310-9956-ffa450edef68
* apr_proc_create(): Properly escape arguments containing whitespace charactersIvan Zhakov2019-10-151-0/+3
| | | | | | | | | | | | | | | | | | | | on Windows. * CMakeLists.txt (single_source_programs): Add test/echoargs.c. * test/echoargs.c: New test app for test_proc_args test. * test/testproc.c (test_proc_args): New test. (testproc): Add test_proc_args to test list. * threadproc/win32/proc.c (quote_arg): New. Helper for apr_proc_create(). (apr_proc_create): Use quote_arg() helper to escape arguments in command line. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1868477 13f79535-47bb-0310-9956-ffa450edef68
* apr_atomic_read64(): Fix non-atomic read on 32-bit Windows.Ivan Zhakov2019-10-081-0/+2
| | | | | | | | | | | | | | * atomic/win32/apr_atomic64.c (apr_atomic_read64): Use InterlockedCompareExchange64() instead of direct memory read. * test/testatomic.c (test_atomics_threaded_setread64): New test. (test_func_set64): Helepr for test_atomics_threaded_setread64 test. * CHANGES: Add changelog entry. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1868129 13f79535-47bb-0310-9956-ffa450edef68
* Remove the APR_SENDFILE_DISCONNECT_SOCKET flag.Ivan Zhakov2019-09-201-0/+2
| | | | | | | | | | | | | | | | | | There are several problems with this flag: 1. The TCP socket may be subject to the TCP TIME_WAIT state. That means apr_sock_sendfile() could occupy worker thread for significant time (30 seconds) 2. With this flag specified, the socket descriptor is removed from the apr_socket_t and the caller caller is expected to maintain the descriptor and release it manually, which is particularly error-prone. See also: https://lists.apache.org/thread.html/a3c4a03961a4b5842e7f657a15fe777edf5949b768a2807619a104b1@%3Cdev.apr.apache.org%3E git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1867226 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1862435, r1862071 per veto from ivanJoe Orton2019-08-281-7/+0
| | | | | | | msgid: <CABw-3YcK0qbeYWDOwE684XtBj3rCT2CuVOBWWqda4gMtRyRJEw@mail.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1866019 13f79535-47bb-0310-9956-ffa450edef68
* Add --tag=CC to libtool invocations. PR 62640.Graham Leggett2019-08-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1865343 13f79535-47bb-0310-9956-ffa450edef68
* API/ABI change, drop return value of apr_thread_exit() which hasJoe Orton2019-07-031-0/+2
| | | | | | | | | | | | no useful (nor documented) semantic: * include/apr_thread_proc.h (apr_thread_exit): Make void function; mark with gcc noreturn attribute. * threadproc/*/thread.c (apr_thread_exit): Update accordingly. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1862446 13f79535-47bb-0310-9956-ffa450edef68
* * include/apr_file_info.h: Clarify pool handling for apr_dir_read andJoe Orton2019-07-021-0/+3
| | | | | | | | | | | | | | apr_dir_pread. * file_io/win32/dir.c, file_io/os2/dir.c (apr_dir_read): Duplicate the returned filename so the call has no side-effects on apr_finfo_t structures passed to previous invocations of the function. * test/testdir.c (test_read_side_effects): Add test case for side-effects of apr_dir_read. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1862435 13f79535-47bb-0310-9956-ffa450edef68
* Note apr_dir_pread.Joe Orton2019-06-251-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1862073 13f79535-47bb-0310-9956-ffa450edef68
* apr_crypto_openssl: Remove unused link to the ssl library.Graham Leggett2019-06-231-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1861959 13f79535-47bb-0310-9956-ffa450edef68
* apu_dso_init: Fix pool lifetime and introduce a reference count. Graham Leggett2019-06-231-0/+5
| | | | | | | | apu_dso_init() can now be called more than once (from multiple modules) and from unrelated pools (usually seen in unit tests). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1861957 13f79535-47bb-0310-9956-ffa450edef68
* apr_crypto_openssl: use OPENSSL_init_crypto() to initialise OpenSSL Graham Leggett2019-06-231-0/+3
| | | | | | | | | on versions 1.1+. Reference: http://openssl.6102.n7.nabble.com/Shutting-down-openssl-is-the-correct-thing-to-do-nothing-td76857.html#a76862 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1861954 13f79535-47bb-0310-9956-ffa450edef68
* Fix problem that apr_get_oslevel() was returning APR_WIN_XP on Windows 10.Ivan Zhakov2019-06-111-0/+2
| | | | | | | | | | * include/arch/win32/apr_arch_misc.h (enum apr_oslevel_e): Add APR_WIN_10. * misc/win32/misc.c (apr_get_oslevel): Return APR_WIN_10 when dwMajorVersion is greater than 6. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1861054 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Merge changes from trunk.xmlliteIvan Zhakov2019-05-271-0/+3
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860149 13f79535-47bb-0310-9956-ffa450edef68
| * Fix handle leak in the Win32 apr_uid_current implementation.Ivan Zhakov2019-05-261-0/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1860057 13f79535-47bb-0310-9956-ffa450edef68
* | On 'xmllite' branch: Update CHANGES file.Ivan Zhakov2019-05-271-0/+3
|/ | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860148 13f79535-47bb-0310-9956-ffa450edef68
* Use native Slim Reader/Writer (SRW) locks on Windows for apr_rwlock_t.Ivan Zhakov2019-05-201-0/+6
| | | | | | This fixes PR 45455 and PR 51360. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859584 13f79535-47bb-0310-9956-ffa450edef68
* Use native one-time initialization [1] to implement apr_thread_once_t onIvan Zhakov2019-05-191-0/+3
| | | | | | | | | | | Windows. This also fixes problem that apr_thread_once() may return before the other read completes initialization on Windows. [1] https://docs.microsoft.com/en-gb/windows/desktop/Sync/one-time-initialization git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859517 13f79535-47bb-0310-9956-ffa450edef68
* The minimum supported Windows OS versions are now Windows 7 / Windows ServerIvan Zhakov2019-05-181-0/+3
| | | | | | | | | 2008 R2. See also: https://lists.apache.org/thread.html/de5af5247324db3e0636a654f2c23d3ff3a94a91f9d35adf5402b927@%3Cdev.apr.apache.org%3E git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859474 13f79535-47bb-0310-9956-ffa450edef68
* Narrow symbolic link detection on NTFSWilliam A. Rowe Jr2019-03-201-0/+4
| | | | | | | | | | | | | | | | | | Read the WIN32_FIND_DATA::dwReserved0 field to determine whether reparse point is a "name surrogate". It's probably more safe to bind to specifig tags. If provided structure (wininfo) was not resulted from FindFile* call, then additional FindFirstFile call is performed. However this may be unnecessary, because the alternate GetFileInformation call is used in the case of an open file handle, and APR_FINFO_LINK has no meaning when it comes to open files. Submitted by: Oleg Liatte <olegliatte gmail.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1855949 13f79535-47bb-0310-9956-ffa450edef68
* User-facing behavior changesWilliam A. Rowe Jr2019-03-201-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1855940 13f79535-47bb-0310-9956-ffa450edef68
* Signals: Allow handling of SIGUSR2 in apr_signal_thread.Yann Ylavic2019-02-221-0/+2
| | | | | | | | It's not like users have so many free signals to play with, let's increase this number by 100% here, not so bad :) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1854123 13f79535-47bb-0310-9956-ffa450edef68
* Add in Atomics for 64bit intsJim Jagielski2018-09-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1841078 13f79535-47bb-0310-9956-ffa450edef68