CHANGES revision 251886
1 -*- coding: utf-8 -*- 2Changes for APR 1.4.6 3 4 *) Flush write buffer before truncate call on a file. 5 [Mladen Turk] 6 7 *) Security: oCERT-2011-003 8 Randomise hashes by providing a seed. 9 [Bojan Smojver, Branko ��ibej, Ruediger Pluem et al.] 10 11 *) apr_random: Prevent segfault if pool used to initialize apr_random is 12 destroyed before forking. [Stefan Fritsch] 13 14 *) testrand: Improve child randomness test case. [Rainer Jung] 15 16 *) apr_proc_fork, apr_random_after_fork: disambiguate what happens to the 17 proc structure passed in, and ensure that the pid is set correctly in 18 a newly created child; note that merely mixing a PID into the random 19 seed of a new child doesn't markedly increase entropy. [Sander Temme] 20 21 *) apr_file_open: Avoid fcntl() calls if support for O_CLOEXEC works. 22 PR 48557. [Mike Frysinger <vapier gentoo org>] 23 24 *) apr_dir_make_recursive: Fix race condition that could lead to EEXIST 25 being returned. PR 51254. [William Lee <william lee rainstor com>, 26 Wim Lewis <wiml omnigroup com>] 27 28 *) configure: Fix APR_RESTORE_THE_ENVIRONMENT if the original variable was 29 a single space. PR 50334. [Nathan Phillip Brink <binki gentoo org>] 30 31 *) apr_proc_create: Don't close any of the new stdin/stdout/stderr in the 32 child if it already has the correct FD. PR 51995. 33 [Dan Ports <drkp csail mit edu>] 34 35 *) Fix flag character '#' in combination with format character 'x' in 36 apr snprintf implementations. [Rainer Jung] 37 38 *) Improve platform detection by updating config.guess and config.sub. 39 [Rainer Jung] 40 41 *) Add libtool2 files to extraclean make target. [Rainer Jung] 42 43 *) Don't overwrite our config.guess and config.sub 44 when running buildconf. [Rainer Jung] 45 46 *) Silence autoconf 2.68 warnings. [Rainer Jung] 47 48Changes for APR 1.4.5 49 50 *) Security: CVE-2011-1928 51 apr_fnmatch(): Fix high CPU loop. [William Rowe] 52 53 *) Fix top_builddir in installed apr_rules.mk. [Bojan Smojver] 54 55Changes for APR 1.4.4 56 57 *) Windows: Fix command-line builds. [William Rowe] 58 59Changes for APR 1.4.3 60 61 *) Security: CVE-2011-0419 62 Reimplement apr_fnmatch() from scratch using a non-recursive 63 algorithm; now has improved compliance with the fnmatch() spec. 64 [William Rowe] 65 66 *) Fix environment-related crash using some non-standard builds on 67 Windows 7/Server 2008. [Steve Hay <SteveHay planit.com>] 68 69 *) poll, pollset, pollcb on Windows: Handle calls with no file/socket 70 descriptors. PR 49882. [Stefan Ruppert <sr myarm.com>, Jeff Trawick] 71 72 *) Fix APR_IPV6_V6ONLY issues on Windows related to run-time behavior 73 on Windows older than Vista and SDK/MinGW levels without IPV6_V6ONLY. 74 PR 45321. [Sob <sob hisoftware.cz>] 75 76 *) Fix address handling when accepting an AF_INET socket from a socket 77 bound as AF_INET6. PR 49678. [Joe Orton] 78 79 *) Fix error return values from apr_sockaddr_info_get() on Windows for 80 IPv6 builds. [Ivan Zhakov <ivan visualsvn.com>] 81 82 *) Add new experimental configure option --enable-allocator-uses-mmap to 83 use mmap instead of malloc in apr_allocator_alloc(). This greatly reduces 84 memory fragmentation with malloc implementations (e.g. glibc) that 85 don't handle allocationss of a page-size-multiples in an efficient way. 86 It also makes apr_allocator_max_free_set() actually have some effect 87 on such platforms. [Stefan Fritsch] 88 89 *) configure: Support 64 and 32 bit universal builds for Darwin/ 90 OS X 10.6+. [Jim Jagielski] 91 92 *) apr_sockaddr_info_get() on AIX: Fix a problem which could set 93 the port field in the native socket address to 1 when 0 was 94 specified. PR 46964. [Jeff Trawick] 95 96 *) configure: Make definition of apr_ino_t independent of 97 _FILE_OFFSET_BITS even on platforms where ino_t is 'unsigned int'. 98 [Stefan Fritsch] 99 100 *) apr_ring: Workaround for aliasing problem that causes gcc 4.5 to 101 miscompile some brigade related code. PR 50190. [Stefan Fritsch] 102 103 *) apr_file_flush_locked(): Handle short writes. [Stefan Fritsch] 104 105 *) apr_pollset_create_ex(): Trap errors from pollset providers. 106 PR 49094. [Sami Tolvanen <sami.tolvanen mywot.com>] 107 108 *) apr_pollset_create*(): Fix memory lifetime problem with the wakeup 109 pipe when the pollset was created with APR_POLLSET_NOCOPY. 110 [Neil Conway <nrc cs.berkeley.edu>] 111 112 *) Fix detection of some Linux variants when configure is built with 113 recent GNU tools. [Eric Covener] 114 115 *) Avoid a redundant fcntl() call in apr_file_open() where O_CLOEXEC 116 is supported. PR 46297. [Joe Orton] 117 118 *) Improve platform detection by updating config.guess and config.sub. 119 [Rainer Jung] 120 121Changes for APR 1.4.2 122 123 *) Undo a crash-bug introduced in 1.4.1 affecting some applications of 124 the apr hash and table structures, reported to affect Subversion 125 by Bert Huijben <bert qqmail.nl>. [Graham Leggett] 126 127Changes for APR 1.4.1 128 129 *) Win32: Properly handle the ERROR_DIRECTORY system error code. 130 [Brane ��ibej] 131 132Changes for APR 1.4.0 133 134 *) Windows: Default build configurations assume NT or higher at run-time. 135 136 *) Add apr_global_mutex_lockfile() for retrieving the file, if any, 137 associated with the mutex. Add apr_global_mutex_name() for retrieving 138 the name of the lock mechanism used by the underlying proc mutex. 139 [Jeff Trawick] 140 141 *) Add apr_socket_atreadeof to determine whether the receive part of the 142 socket has been closed by the peer. 143 [Ruediger Pluem, Mladen Turk, Joe Orton] 144 145 *) Make apr_pollset and apr_pollcb implementations using providers. 146 Added apr_pollset_create_ex and apr_pollcb_create_ex that allows 147 choosing non-default providers. 148 [Mladen Turk] 149 150 *) Win32: Use WSAPoll as default pollset method if supported and found 151 inside winsock dll. [Mladen Turk] 152 153 *) apr_temp_dir_get() now checks the TMPDIR environment variable first, 154 instead of third. [Jim Jagielski] 155 156 *) Add apr_file_sync() and apr_file_datasync() calls. [Bojan Smojver] 157 158 *) apr_pollset_wakeup() on Windows: Fix core caused by closing the 159 file_socket_pipe with standard file_close. 160 [Arsen Chaloyan, Mladen Turk] 161 162 *) Introduce apr_hash_do() for iterating over a hash table. [Mladen Turk] 163 164 *) Make sure WIN32 behaves the same as posix for file-backed shared memory 165 by removing the file on cleanup/remove. [Mladen Turk] 166 167 *) Introduce apr_pollset_wakeup() for interrupting the blocking 168 apr_pollset_poll() call. [Mladen Turk] 169 170 *) Add apr_file_link() function. PR 44841. [Mark Heily <mark heily.com>] 171 172Changes for APR 1.3.x and later: 173 174 *) http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/CHANGES?view=markup 175 176Changes for APR 1.2.x and later: 177 178 *) http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/CHANGES?view=markup 179 180Changes for APR 1.1.x and later: 181 182 *) http://svn.apache.org/viewvc/apr/apr/branches/1.1.x/CHANGES?view=markup 183 184Changes for APR 1.0.x and later: 185 186 *) http://svn.apache.org/viewvc/apr/apr/branches/1.0.x/CHANGES?view=markup 187 188Changes for APR 0.9.x and later/earlier: 189 190 *) http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/CHANGES?view=markup 191