changes
来自「linux网络服务器工具」· 代码 · 共 1,556 行 · 第 1/5 页
TXT
1,556 行
FNM_PERIOD -> APR_FNM_PERIOD FNM_CASE_BLIND -> APR_FNM_CASE_BLIND MAX_SECONDS_TO_LINGER -> APR_MAX_SECONDS_TO_LINGER The following interfaces have function argument changes: apr_mmap_dup apr_socket_create The following header files have been removed: apr_compat.hChanges with APR 0.9.5 *) Fix apr_snprintf() to respect precision for small floating point numbers. PR 29621. [Artur Zaprzala <zybi talex.pl>] *) Add command type APR_SHELLCMD_ENV for creating a process which is started by the shell and which inherits the parent's environment variables. [Jeff Trawick] *) Don't try to enable run-time linking on AIX < 4.2, as this results in invalid linker options being used. PR 29170. [Jeff Trawick] *) Don't assume getnameinfo() can handle IPv4-mapped IPv6 addresses on any platforms. [Jeff Trawick, Joe Orton, Colm MacCárthaigh <colm stdlib.net>] *) Support setuid, setgid and sticky file permissions bits on Unix. [André Malo] *) Fix sign error in apr_file_seek(APR_END). [Greg Hudson <ghudson MIT.EDU>] *) Provide workaround for socklen_t declaration problem with 64-bit build on HP-UX. Stop setting a PA-RISC-specific compile option on ia64. Look for -mt thread option, which is used with HP-UX vendor compiler on ia64. [Jeff Trawick, based on idea from Madhusudan Mathihalli] *) Return an error instead of silently failing when apr_poll() is used with file descriptors >= FD_SETSIZE. (Unix systems with no native poll()) [Jeff Trawick, Brad Nicholes] *) Fix handling of negative numbers in apr_strtoi64() on platforms without strtoll. [Joe Orton] *) Fix printing apr_int64_t values smaller than LONG_MIN on 32-bit platforms in apr_vformatter. [Joe Orton] *) Fix apr_socket_opt_set with APR_IPV6_V6ONLY flag. Fixes httpd Listen IPv6 socket behavior on FreeBSD 5.x, OpenBSD, NetBSD. [Justin Erenkrantz] *) Fix apr_time_exp_get() for dates in 2038. [Philip Martin <philip codematters.co.uk>] *) Add APR_LARGEFILE flag to allow opening files with the O_LARGEFILE flag; not recommended for general use, see include/apr_file_io.h. [Joe Orton] *) Various build fixes: thread_rwlock.c on some Solaris platforms (PR 22990); filestat.c on ReliantUnix (PR 22990); config.status on IRIX (PR 19251). [Various] *) Use NI_NAMEREQD instead of NI_NUMERICHOST in APR_CHECK_GETNAMEINFO_IPV4_MAPPED. PR 24469. [Justin Erenkrantz] *) Ensure that apr_sockaddr_info_get() does not return anything other than AF_INET and AF_INET6 addresses. [Joe Orton] *) Clarify that apr_dir_read() does not guarantee order of returned entries as previously claimed. [Joe Orton] *) The whole codebase was relicensed and is now available under the Apache License, Version 2.0 (http://www.apache.org/licenses). [Apache Software Foundation] *) Define apr_off_t as long rather than as off_t on platforms with a 32-bit off_t to prevent incompatibility with packages such as Perl which redefine the size of off_t via _FILE_OFFSET_BITS on some platforms. [Ben Reser <ben reser.org>] *) apr_socket_connect(): allow app to make subsequent call on non-blocking socket. [Jeff Trawick] *) Add apr_os_pipe_put_ex(), which allows the caller to tell APR to establish a cleanup on the pipe. [Jeff Trawick, Brad Nicholes] *) Fix make_exports.awk to work with apr-iconv. [Justin Erenkrantz]Changes with APR 0.9.4 *) win32: fix apr_file_dup() and apr_file_dup2() to dup the ungetchar member [Stas Bekman] *) Preserve leading '../' segments as when merging to an empty and unrooted path - fixes a bug observed in SVN with Win32/Netware/OS2. [Mike Pilato <cmpilato collab.net>, William Rowe] *) Work around a bug in Darwin when calling getnameinfo() on IPv4-mapped IPv6-addresses. [Colm MacCárthaigh <colm stdlib.net>, Jeff Trawick, Justin Erenkrantz] *) Add apr_temp_dir_get() for getting the most suitable temp directory [Mike Pilato <cmpilato collab.net>, Thom May] *) Modify apr_sockaddr_info_get to call the resolver when we do not have a hostname. Also, fix bugs in the getaddrinfo() implementation. [Colm MacCárthaigh <colm stdlib.net>, Justin Erenkrantz] *) Change the behavior of unix process 'trylock's to return APR_ENOTIMPL instead of segfaulting, consistent with the other lock implementations. [William Rowe] *) Fix a subtle race where the ownership of a unix nested thread lock could be corrupted when the prior owner released the lock with another thread waiting on the same lock. [William Rowe] *) apr_socket_data_set(): allow the same key to be used for multiple sockets in the same pool. [Jeff Trawick] *) Add new table function apr_table_compress() and replace red-black trees with mergesort in apr_table_overlap() [Joe Schaefer <joe+gmane sunstarsys.com>, Brian Pane] *) Win32: Adopt Brian Havard's OS/2 rwlock implementation for Windows [Marc Adkins, Bill Stoddard] *) Add apr_proc_mutex_lockfile() for retrieving the name of the file associated with a mutex. [Jeff Trawick] *) Don't require the lock file name to be passed into apr_proc_mutex_child_init() or apr_global_mutex_child_init(). This allows child init to work when the lock file was a temp file created by APR. (The problem only occurred with flock- based mutexes.) [Jeff Trawick] *) When using a temporary file for flock- and fcntl-based mutexes, don't let the file be deleted on close. For flock-based mutexes, this corrects a fatal problem, since the file would disappear when a program was spawned and cleanup-for-exec was performed, and a subsequent attempt to perform child process mutex initialization would fail. For fcntl-based mutexes, this was a very minor issue that resulted in a failing unlink() when the file was closed, since fcntl lock initialization always removes the file immediately. [Jeff Trawick] *) When writing to pipes with a timeout set, handle the situation where the kernel says the pipe is writable but an attempt to write <= PIPE_BUF bytes gets EAGAIN. APR will now write whatever data will fit. APR applications that relied on the atomic nature of relatively small pipe write requests may be affected. PR 20295 [Mark Street <mark faime.demon.co.uk>, Jeff Trawick] *) Define _THREAD_SAFE for all compilations on AIX. Previously those of us who used the vendor compiler had it defined implicitly and others did not. The difference became obvious with the recent thread safety fixes to apr_password_validate(). PR 20420 [Jeff Trawick] *) For apr_proc_detach(APR_PROC_DETACH_FOREGROUND), don't treat a setsid() failure as fatal, as the usual cause is that the caller is already a process group leader. PR 18519 [Jeff Trawick] *) Fix some problems with non-blocking socket handling on unix that resulted in infinite timeouts being used for non-blocking sockets with apr_socket_connect() and some read/write calls. [Jeff Trawick] *) Fix a bug in socket timeout handling on unix that left the socket non-blocking after disabling the timeout. [Jacob Craig Lewallen <jlewalle cs.ucr.edu>] *) Added flag APR_FILE_ATTR_HIDDEN for manipulating the "hidden" file attribute on Windows and OS/2. [Branko Čibej] *) SECURITY [CAN-2003-0245]: Fixed a bug that could be triggered remotely through mod_dav and possibly other mechanisms, causing an Apache child process to crash. The crash was first reported by David Endler <DEndler iDefense.com> and was researched and fixed by Joe Orton <jorton redhat.com>. Details will be released on 30 May 2003. *) apr_proc_wait(): Handle interrupted waitpid(2) calls by calling it repeatedly until it succeeds or fails with errno other than EINTR. This hides this UNIX-specific behavior from APR clients. *) Removed the solaris-specific atomic code, due to licence concerns (it was MPL 1.0, and the author could not be contacted) [Ian Holsman] *) apr_file_gets(): Return APR_SUCCESS if any characters are returned. Any I/O errors or EOF will be reported on the next call. Callers that are coded to expect returned data + APR_EOF when there is no final newline are affected by this change. [Jeff Trawick] *) apr_proc_create() on Unix: Make the APR_SHELLCMD mode work when there is more than one program argument passed in. [Jeff Trawick] *) Add --cc and --cpp flags to apr-config. [Jeff Trawick] *) Don't segfault trying to close a file in error paths of flock and fcntl mutex creation. PR 19036 [Jeff Trawick] *) Add %pT support to apr_snprintf() for printing an apr_os_thread_t. [Jeff Trawick] *) Add APR_TCP_NODELAY_INHERITED & APR_O_NONBLOCK_INHERITED to apr.hw [Allan Edwards] *) Add APR_UINT64_T_HEX_FMT. [Jeff Trawick] *) Add parameter to APR_SUBDIR_CONFIG to drop options passed to configure before the subdir's configure is invoked. [Jeff Trawick, Justin Erenkrantz] *) Implement APR_SO_RCVBUF socket option on Unix. [Adam Sussman <myddryn vishnu.vidya.com>] *) Don't add the math library (-lm) if the modf() function is already available via libc. [Roy Fielding] *) Solaris cc: Don't use the -mt option for threaded builds. That is for non-Posix threading, and the use of it prevented us from linking with -lpthread, which in turn caused weird problems for APR applications. [Kristofer Spinka <kspinka style.net>] *) OS/2: apr_stat() fixes - When a character device is stat'ed, fill in finfo.name if it was asked for. Return APR_INCOMPLETE when appropriate. Addresses httpd incident [CAN-2003-0134]. [Brian Havard]Changes with APR 0.9.3 *) Don't enable posixsem, at build time, on systems where sem_t * won't "fit" into an int (sizeof-wise). Also, better error handling when we fail to create a posixsem. PR 17186 [Scott Herod <sherod pillardata.com>, Jim Jagielski] *) Default hpux 10.x to disable threading, since if it exists at all the pthread implementation should not be trusted, while hpux 10 had its own threads implementation that is no longer supported. PR 9457 [William Rowe] *) Fix error in apr-config when symlinks are involved. [Garrett Rooney <rooneg electricjellyfish.net>]Changes with APR 0.9.2 *) Numerous bug fixes for file and socket inheritence by child processes on Unix, correcting bugs that affected the correct behavior of apr_[file|socket]_inherit_[un]set() API. [Bjoern A. Zeeb <bz zabbadoz.net>, William Rowe, Joe Orton] *) Define APR_UINT64_T_FMT and APR_UINT64_T_FMT_LEN. Define APR_INT64_T_FMT_LEN on Windows and Netware. [Branko Čibej] *) Correct apr_file_gets() on OS2 and Win32 so that '\r's are no longer eaten, and apr_file_gets() -> apr_file_puts() moves the contents uncorrupted. [William Rowe] *) Alter Win32's handling of the apr_proc_t hproc member, so that we close that system handle wherever an apr function would invoke the final waitpid() against a zombie process on Unix. [William Rowe] *) APR_MAX_SECONDS_TO_LINGER and APR_FNM_* #defines replace their old undecorated names (missing APR_ prefix). The old names will disappear with APR 1.0.0. [Craig Rodrigues <rodrigc@attbi.com>, William Rowe] *) When generating a semaphore name for posixsem locking, try to be a little more robust (and unique). [Jim Jagielski] *) Add functions apr_env_get, apr_env_set and apr_env_delete for manipulating the environment. [Branko Čibej] *) Fix APR_LAYOUT to work with layout files with no preceding blank lines and emit errors when layout is not found. PR 15679. [Justin Erenkrantz] *) Add functions apr_filepath_list_split and apr_filepath_list_merge for managing search paths. [Branko Čibej] *) Introduce Release mode debugging symbols for Win32 builds of apr. All library builds gain /Zi for debug symbols (which are discarded at link time if some flavor of the /debug flag isn't passed to link) and .dll builds gain .pdb symbols. [Allen Edwards, William Rowe] *) Add two new proc attributes to improve diagnostics for apr_proc_create() failures on platforms where fork()+exec() is used. See the doc for apr_procattr_child_errfn_set() and apr_procattr_error_check_set(). [Jeff Trawick] *) Rename rules.mk to apr_rules.mk and make apr_rules.mk be installed. [Thom May] *) Fix a bug in apr_proc_create() that could cause a new child process to run the parent's code if setrlimit() fails. [Jeff Trawick] *) Disable apr_socket_sendfile() on 64-bit AIX to avoid an apparent system problem. PR 11408. [Jeff Trawick] *) Add --includedir flag to apr-config. [Justin Erenkrantz]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?