CHANGES revision 253734
1139826Simp -*- coding: utf-8 -*- 253541SshinChanges for APR 1.4.8 353541Sshin 453541Sshin *) Fix compiltation with FreeBSD on ARM. [Olli Hauer <ohauer gmx.de>] 553541Sshin 653541Sshin *) Fix 1.4.7 regression in apr_mcast_hops() and apr_mcast_loopback() 753541Sshin for AF_INET (IPv4) sockets on most Unix platforms. [Joe Orton] 853541Sshin 953541Sshin *) Fix the return value of apr_threadattr_detach_get() on some 1053541Sshin platforms like OS X and Solaris. [Rainer Jung, <dusanv gmail com>] 1153541Sshin 1253541SshinChanges for APR 1.4.7 1353541Sshin 1453541Sshin *) Fix apr_sockaddr_info_get() not returning an error in some cases. 1553541Sshin PR 54779. [Jan Kalu��a <jkaluza redhat com>] 1653541Sshin 1753541Sshin *) Fix amd64 assembler version of apr_atomic_xchgptr(). PR 51851. [Mattias 1853541Sshin Engdeg��rd <mattiase acm org>] 1953541Sshin 2053541Sshin *) Fix PPC atomics to work with gcc 4.0. PR 54840. [Mattias Engdeg��rd 2153541Sshin <mattiase acm org>] 2253541Sshin 2353541Sshin *) configure: Fix detection of O_NONBLOCK inheritance on busy 2453541Sshin systems. [Rainer Jung] 2553541Sshin 2653541Sshin *) Remove unused code, fix strict C compliance bug in SHA-256 2753541Sshin implementation. [Jan Kaluza <jkaluza redhat.com>] 2853541Sshin 2953541Sshin *) Fix apr_ipsubnet_test() false positives when comparing IPv4 3053541Sshin subnet representation against an IPv6 address. PR 54047. [Joe Orton] 3153541Sshin 32139826Simp *) apr_socket_accept_filter: Return success when trying to again set 3353541Sshin the filter to the same value as before, avoiding an unhelpful 3453541Sshin APR_EINVAL. PR 37863. [Jeff Trawick] 3553541Sshin 3653541Sshin *) configure: Fix Linux 3.x detection. PR 54001. [Gilles Espinasse 3753541Sshin <g esp free fr>] 3853541Sshin 3953541Sshin *) apr_time_exp_*() on Windows: Fix error in the tm_yday field of 4053541Sshin apr_time_exp_t for times within leap years. PR 53175. 4153541Sshin [Jeff Trawick] 4253541Sshin 4353541Sshin *) Improve platform detection by updating config.guess and config.sub. 4453541Sshin [Rainer Jung] 4553541Sshin 4653541Sshin *) Add support for OSX Mountain Lion (10.8) [Jim Jagielski] 4753541Sshin 4853541Sshin *) Add various gcc function attributes. [Stefan Fritsch] 4953541Sshin 5053541Sshin *) Fix some problems in apr_sockaddr_info_get() when trying to resolve 5153541Sshin the loopback addresses of a protocol family that is not otherwise 5253541Sshin configured on the system. PR 52709. [Nirgal Vourg��re 5353541Sshin <jmv_deb nirgal com>, Stefan Fritsch] 5453541Sshin 5553541Sshin *) Fix file not being unlocked if truncate call on a file fails. 5653541Sshin [Mladen Turk] 5753541Sshin 5853541Sshin *) apr_mcast_hops: Fix EINVAL for IPv6 sockets caused by using byte 5953541Sshin instead integer for setsockopt. [Mladen Turk] 6053541Sshin 6153541Sshin *) Windows: Fix compile-time checks for 64-bit builds, resolving a 6253541Sshin crash in httpd's mod_rewrite. PR 49155. [<anindyabaruah gmail.com>] 6355009Sshin 6478064SumeChanges for APR 1.4.6 6555009Sshin 6653541Sshin *) Flush write buffer before truncate call on a file. 6795759Stanimura [Mladen Turk] 6895759Stanimura 6953541Sshin *) Randomise hashes by providing a seed. 7095759Stanimura Assigned CVE-2012-0840, oCERT-2011-003, but not known to be exploitable. 7153541Sshin [Bojan Smojver, Branko ��ibej, Ruediger Pluem et al.] 7295759Stanimura 7395759Stanimura *) apr_random: Prevent segfault if pool used to initialize apr_random is 7453541Sshin destroyed before forking. [Stefan Fritsch] 7553541Sshin 7695759Stanimura *) testrand: Improve child randomness test case. [Rainer Jung] 7753541Sshin 78148385Sume *) apr_proc_fork, apr_random_after_fork: disambiguate what happens to the 7953541Sshin proc structure passed in, and ensure that the pid is set correctly in 8053541Sshin a newly created child; note that merely mixing a PID into the random 8195759Stanimura seed of a new child doesn't markedly increase entropy. [Sander Temme] 8253541Sshin 8353541Sshin *) apr_file_open: Avoid fcntl() calls if support for O_CLOEXEC works. 8453541Sshin PR 48557. [Mike Frysinger <vapier gentoo org>] 8553541Sshin 8653541Sshin *) apr_dir_make_recursive: Fix race condition that could lead to EEXIST 8795759Stanimura being returned. PR 51254. [William Lee <william lee rainstor com>, 8895759Stanimura Wim Lewis <wiml omnigroup com>] 8962587Sitojun 9095759Stanimura *) configure: Fix APR_RESTORE_THE_ENVIRONMENT if the original variable was 9156723Sshin a single space. PR 50334. [Nathan Phillip Brink <binki gentoo org>] 9253541Sshin 9395759Stanimura *) apr_proc_create: Don't close any of the new stdin/stdout/stderr in the 9453541Sshin child if it already has the correct FD. PR 51995. 9595759Stanimura [Dan Ports <drkp csail mit edu>] 9662587Sitojun 9753541Sshin *) Fix flag character '#' in combination with format character 'x' in 9853541Sshin apr snprintf implementations. [Rainer Jung] 9953541Sshin 10053541Sshin *) Improve platform detection by updating config.guess and config.sub. 10153541Sshin [Rainer Jung] 10253541Sshin 103105199Ssam *) Add libtool2 files to extraclean make target. [Rainer Jung] 104105199Ssam 105105199Ssam *) Don't overwrite our config.guess and config.sub 106105199Ssam when running buildconf. [Rainer Jung] 107105199Ssam 10853541Sshin *) Silence autoconf 2.68 warnings. [Rainer Jung] 10953541Sshin 11053541SshinChanges for APR 1.4.5 11153541Sshin 11253541Sshin *) Security: CVE-2011-1928 11353541Sshin apr_fnmatch(): Fix high CPU loop. [William Rowe] 11453541Sshin 11553541Sshin *) Fix top_builddir in installed apr_rules.mk. [Bojan Smojver] 11653541Sshin 11753541SshinChanges for APR 1.4.4 11853541Sshin 11953541Sshin *) Windows: Fix command-line builds. [William Rowe] 12053541Sshin 12153541SshinChanges for APR 1.4.3 12278064Sume 12378064Sume *) Security: CVE-2011-0419 12453541Sshin Reimplement apr_fnmatch() from scratch using a non-recursive 12553541Sshin algorithm; now has improved compliance with the fnmatch() spec. 12653541Sshin [William Rowe] 12753541Sshin 12853541Sshin *) Fix environment-related crash using some non-standard builds on 12953541Sshin Windows 7/Server 2008. [Steve Hay <SteveHay planit.com>] 13053541Sshin 13153541Sshin *) poll, pollset, pollcb on Windows: Handle calls with no file/socket 13253541Sshin descriptors. PR 49882. [Stefan Ruppert <sr myarm.com>, Jeff Trawick] 13353541Sshin 13453541Sshin *) Fix APR_IPV6_V6ONLY issues on Windows related to run-time behavior 13553541Sshin on Windows older than Vista and SDK/MinGW levels without IPV6_V6ONLY. 13653541Sshin PR 45321. [Sob <sob hisoftware.cz>] 13753541Sshin 13878064Sume *) Fix address handling when accepting an AF_INET socket from a socket 139121901Sume bound as AF_INET6. PR 49678. [Joe Orton] 14053541Sshin 14178064Sume *) Fix error return values from apr_sockaddr_info_get() on Windows for 14278064Sume IPv6 builds. [Ivan Zhakov <ivan visualsvn.com>] 14383934Sbrooks 14478064Sume *) Add new experimental configure option --enable-allocator-uses-mmap to 14578064Sume use mmap instead of malloc in apr_allocator_alloc(). This greatly reduces 14678064Sume memory fragmentation with malloc implementations (e.g. glibc) that 14753541Sshin don't handle allocationss of a page-size-multiples in an efficient way. 14878064Sume It also makes apr_allocator_max_free_set() actually have some effect 149121901Sume on such platforms. [Stefan Fritsch] 15053541Sshin 151132714Srwatson *) configure: Support 64 and 32 bit universal builds for Darwin/ 15253541Sshin OS X 10.6+. [Jim Jagielski] 153132714Srwatson 154132714Srwatson *) apr_sockaddr_info_get() on AIX: Fix a problem which could set 155132714Srwatson the port field in the native socket address to 1 when 0 was 156132714Srwatson specified. PR 46964. [Jeff Trawick] 15753541Sshin 158132714Srwatson *) configure: Make definition of apr_ino_t independent of 15953541Sshin _FILE_OFFSET_BITS even on platforms where ino_t is 'unsigned int'. 16053541Sshin [Stefan Fritsch] 161132714Srwatson 16253541Sshin *) apr_ring: Workaround for aliasing problem that causes gcc 4.5 to 16353541Sshin miscompile some brigade related code. PR 50190. [Stefan Fritsch] 164132714Srwatson 16553541Sshin *) apr_file_flush_locked(): Handle short writes. [Stefan Fritsch] 16653541Sshin 167132714Srwatson *) apr_pollset_create_ex(): Trap errors from pollset providers. 16878064Sume PR 49094. [Sami Tolvanen <sami.tolvanen mywot.com>] 16978064Sume 170151459Ssuz *) apr_pollset_create*(): Fix memory lifetime problem with the wakeup 17178064Sume pipe when the pollset was created with APR_POLLSET_NOCOPY. 17278064Sume [Neil Conway <nrc cs.berkeley.edu>] 173132714Srwatson 17478064Sume *) Fix detection of some Linux variants when configure is built with 17553541Sshin recent GNU tools. [Eric Covener] 17653541Sshin 17753541Sshin *) Avoid a redundant fcntl() call in apr_file_open() where O_CLOEXEC 17878064Sume is supported. PR 46297. [Joe Orton] 179125941Sume 18078064Sume *) Improve platform detection by updating config.guess and config.sub. 18178064Sume [Rainer Jung] 18278064Sume 183125396SumeChanges for APR 1.4.2 18478064Sume 185125941Sume *) Undo a crash-bug introduced in 1.4.1 affecting some applications of 18678064Sume the apr hash and table structures, reported to affect Subversion 18778064Sume by Bert Huijben <bert qqmail.nl>. [Graham Leggett] 188105199Ssam 189105199SsamChanges for APR 1.4.1 190125941Sume 19153541Sshin *) Win32: Properly handle the ERROR_DIRECTORY system error code. 19297658Stanimura [Brane ��ibej] 19397658Stanimura 194121674SumeChanges for APR 1.4.0 19553541Sshin 19653541Sshin *) Windows: Default build configurations assume NT or higher at run-time. 19753541Sshin 198121901Sume *) Add apr_global_mutex_lockfile() for retrieving the file, if any, 19953541Sshin associated with the mutex. Add apr_global_mutex_name() for retrieving 20053541Sshin the name of the lock mechanism used by the underlying proc mutex. 20153541Sshin [Jeff Trawick] 20253541Sshin 20378064Sume *) Add apr_socket_atreadeof to determine whether the receive part of the 20497658Stanimura socket has been closed by the peer. 20553541Sshin [Ruediger Pluem, Mladen Turk, Joe Orton] 20653541Sshin 20753541Sshin *) Make apr_pollset and apr_pollcb implementations using providers. 208132714Srwatson Added apr_pollset_create_ex and apr_pollcb_create_ex that allows 20953541Sshin choosing non-default providers. 21053541Sshin [Mladen Turk] 21153541Sshin 212125941Sume *) Win32: Use WSAPoll as default pollset method if supported and found 21378064Sume inside winsock dll. [Mladen Turk] 21478064Sume 21578064Sume *) apr_temp_dir_get() now checks the TMPDIR environment variable first, 216125396Sume instead of third. [Jim Jagielski] 21778064Sume 218125941Sume *) Add apr_file_sync() and apr_file_datasync() calls. [Bojan Smojver] 21978064Sume 22078064Sume *) apr_pollset_wakeup() on Windows: Fix core caused by closing the 221105199Ssam file_socket_pipe with standard file_close. 222105199Ssam [Arsen Chaloyan, Mladen Turk] 223149224Ssuz 224105199Ssam *) Introduce apr_hash_do() for iterating over a hash table. [Mladen Turk] 225125941Sume 22653541Sshin *) Make sure WIN32 behaves the same as posix for file-backed shared memory 22797658Stanimura by removing the file on cleanup/remove. [Mladen Turk] 22897658Stanimura 229121674Sume *) Introduce apr_pollset_wakeup() for interrupting the blocking 23053541Sshin apr_pollset_poll() call. [Mladen Turk] 23153541Sshin 23253541Sshin *) Add apr_file_link() function. PR 44841. [Mark Heily <mark heily.com>] 233121901Sume 23453541SshinChanges for APR 1.3.x and later: 23553541Sshin 23653541Sshin *) http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/CHANGES?view=markup 23778064Sume 23897658StanimuraChanges for APR 1.2.x and later: 23953541Sshin 240132714Srwatson *) http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/CHANGES?view=markup 24153541Sshin 24278064SumeChanges for APR 1.1.x and later: 24378064Sume 24478064Sume *) http://svn.apache.org/viewvc/apr/apr/branches/1.1.x/CHANGES?view=markup 24553541Sshin 24653541SshinChanges for APR 1.0.x and later: 24753541Sshin 24853541Sshin *) http://svn.apache.org/viewvc/apr/apr/branches/1.0.x/CHANGES?view=markup 24953541Sshin 25053541SshinChanges for APR 0.9.x and later/earlier: 25153541Sshin 25253541Sshin *) http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/CHANGES?view=markup 25353541Sshin