258 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			258 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 2011-02-09  Christopher Faylor  <me+cygwin@cgf.cx>
 | |
| 
 | |
| 	* hookapi.cc (hook_or_detect_cygwin): Prevent i from being considered
 | |
| 	uninitialized by gcc.
 | |
| 
 | |
| 2011-02-09  Christopher Faylor  <me+cygwin@cgf.cx>
 | |
| 
 | |
| 	* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
 | |
| 
 | |
| 2011-02-08  Christopher Faylor  <me+cygwin@cgf.cx>
 | |
| 
 | |
| 	* dll_init.cc: Fix typo in comment.
 | |
| 
 | |
| 2011-02-07  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* configure.in: Remove AC_ALLOCA test and test for __builtin_memset.
 | |
| 	* configure: Regenerate.
 | |
| 
 | |
| 2011-02-07  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_console.cc (fhandler_console::write_normal): Remove
 | |
| 	erroneous premature return after collecting truncated multibyte
 | |
| 	sequence in trunc_buf.  Rather fall through to printing routine.
 | |
| 	Fix return value to take trunc_buf content into account.  Improve
 | |
| 	comments.
 | |
| 
 | |
| 2011-02-05  Christopher Faylor  <me+cygwin@cgf.cx>
 | |
| 
 | |
| 	* autoload.cc (wsock_init): Properly define WSAStartup function pointer
 | |
| 	to avoid stack damage.
 | |
| 
 | |
| 2011-02-02  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* libc/bsdlib.cc: Include err.h.
 | |
| 
 | |
| 2011-02-02  Eric Blake  <eblake@redhat.com>
 | |
| 
 | |
| 	* include/err.h: Fix loss of semicolons in previous patch.
 | |
| 
 | |
| 2011-02-02  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* include/err.h (err): Add noreturn attribute.
 | |
| 	(errx): Ditto.
 | |
| 	(verr): Ditto.
 | |
| 	(verrx): Ditto.
 | |
| 
 | |
| 2011-02-02  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* path.cc (conv_path_list): Remove enclosing quotes and trailing
 | |
| 	backslashes from Win32 environment path lists.
 | |
| 
 | |
| 2011-02-01  Christian Franke  <franke@computer.org>
 | |
| 
 | |
| 	* fhandler.cc (fhandler_base::fsync): Ignore ERROR_INVALID_FUNCTION
 | |
| 	error from FlushFileBuffers().
 | |
| 
 | |
| 2011-01-31  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* syscalls.cc (utmp_data): Fix potential buffer overflow.
 | |
| 
 | |
| 2011-01-31  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_socket.cc (address_in_use): Improve comment readability.
 | |
| 
 | |
| 2011-01-30  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_socket.cc (address_in_use): Disable.  Add comment.
 | |
| 	(fhandler_socket::bind): Change comment to explain setting the
 | |
| 	SO_EXCLUSIVEADDRUSE socket option.  Remove code which checks for
 | |
| 	address in use.
 | |
| 	* net.cc (cygwin_setsockopt): Never set SO_REUSEADDR option.  Improve
 | |
| 	comment to compensate for the deleted comment in fhandler_socket::bind.
 | |
| 	* wincap.cc: Throughout, drop has_enhanced_socket_security from wincaps.
 | |
| 	* wincap.h (struct wincaps): Drop has_enhanced_socket_security flags
 | |
| 	and method.
 | |
| 
 | |
| 2011-01-28 Peter Foley <jpfoley2@verizon.net>
 | |
| 
 | |
| 	* configure.in: Define LIBSERVER regardless of cross_host.
 | |
| 	* configure: Regenerate.
 | |
| 
 | |
| 2011-01-28  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_socket.cc (fhandler_socket::wait_for_events): Call
 | |
| 	pthread_testcancel in case of timeout to enable pthread_cancel
 | |
| 	on waiting thread.
 | |
| 
 | |
| 2011-01-27  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* include/features.h (__STDC_ISO_10646__): Move to newlib's
 | |
| 	sys/features.h.
 | |
| 
 | |
| 2011-01-26  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Fix
 | |
| 	computation of st_blocks.
 | |
| 	(fhandler_base::fstat_helper): Fix formatting.
 | |
| 
 | |
| 2011-01-24  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* include/features.h (__STDC_ISO_10646__): Define.  Add comment.
 | |
| 
 | |
| 2011-01-21  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* syscalls.cc (rename): Fix permission problem with symlinks on NFS.
 | |
| 	Rework how NtOpenFile gets called to make it more readable.  Change
 | |
| 	comment.
 | |
| 
 | |
| 2011-01-20  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* exec.cc: Include pinfo.h.
 | |
| 	* winf.h: Move definitions of _P_PATH_TYPE_EXEC and _P_MODE from here...
 | |
| 	* pinfo.h: ...to here.
 | |
| 	(_P_PATH_TYPE_EXEC): Redefine to be bigger than _P_SYSTEM.
 | |
| 	(_P_MODE): Redefine so as not to mask out _P_SYSTEM.
 | |
| 	* spawn.cc (spawnlp): Add _P_PATH_TYPE_EXEC flag in call to spawnve.
 | |
| 	(spawnlpe): Ditto.
 | |
| 	(spawnvp): Ditto.
 | |
| 
 | |
| 2011-01-19  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* spawn.cc (av::fixup): Reenable #! handling for all exec functions.
 | |
| 	Return ENOEXEC in !p_type_exec case only for unrecognized files.
 | |
| 	Fix comment formatting.
 | |
| 
 | |
| 2011-01-19  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call to
 | |
| 	spawnve.
 | |
| 
 | |
| 2011-01-19  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* exec.cc: Rearrange functions in alphabetical order.
 | |
| 	(_execve): Drop temporary define and drop export alias.
 | |
| 	(execl): Call spawnve.
 | |
| 	(execle): New function.
 | |
| 	(execlp): New function.
 | |
| 	(execv): Call spawnve.
 | |
| 	(execve): Drop converting NULL envp to emtpy envp.
 | |
| 	(execvp): Call spawnve.
 | |
| 	(execvpe): Drop converting NULL envp to emtpy envp.  Call spawnve.
 | |
| 	(fexecve): Call spawnve.
 | |
| 	* spawn.cc (spawnve): Convert NULL envp to emtpy envp.  Remove outdated
 | |
| 	comment.
 | |
| 	(spawnlp): Call spawnve.
 | |
| 	(spawnlpe): Ditto.
 | |
| 	(spawnvp): Ditto.
 | |
| 	(spawnvpe): Fix formatting.
 | |
| 
 | |
| 2011-01-19  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* exec.cc (strccpy): Move function from here...
 | |
| 	* strfuncs.cc (strccpy): ...to here.
 | |
| 	* string.h (strccpy): Declare.
 | |
| 	* winsup.h (strccpy): Drop declaration.
 | |
| 
 | |
| 2011-01-19  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* errno.cc (errmap): Add error codes for invalid binaries.
 | |
| 	* exec.cc (execvp): Call spawnve with _P_PATH_TYPE_EXEC flag
 | |
| 	from here.
 | |
| 	(execvpe): Ditto.
 | |
| 	* spawn.cc (spawn_guts): Filter _P_PATH_TYPE_EXEC from mode and
 | |
| 	store in p_type_exec.  Call av::fixup with addtional p_type_exec
 | |
| 	argument.
 | |
| 	(spawnve): Check for filtered mode.
 | |
| 	(spawnvpe): Add _P_PATH_TYPE_EXEC flag when calling spawnve.
 | |
| 	(av::fixup): Accept additional bool parameter p_type_exec.  Only check
 | |
| 	for script if p_type_exec is true.
 | |
| 	* winf.h (_P_PATH_TYPE_EXEC): Define.
 | |
| 	(_P_MODE): Define.
 | |
| 	(av::fixup): Declare with additional bool parameter.
 | |
| 
 | |
| 2011-01-17  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_proc.cc (format_proc_partitions): Fix compiler warning.
 | |
| 
 | |
| 2011-01-17  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* path.cc (path_conv::check): Don't follow reparse point symlinks if
 | |
| 	PC_SYM_NOFOLLOW_REP flag is set.
 | |
| 	(cygwin_conv_path): Set PC_SYM_NOFOLLOW_REP flag when converting from
 | |
| 	POSIX to Win32.
 | |
| 	* path.h (enum pathconv_arg): Define PC_SYM_NOFOLLOW_REP flag.
 | |
| 
 | |
| 2011-01-17  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.
 | |
| 	(fhandler_proc::fill_filebuf): Handle return value of 0 from format
 | |
| 	function as error.
 | |
| 	(format_proc_stat): Set errno when returning 0 size.
 | |
| 	(format_proc_partitions): Rewrite method to fetch partition info.
 | |
| 
 | |
| 2011-01-13  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler_disk_file.cc (fhandler_base::fstat_helper): Always set
 | |
| 	st_size of directories to 0.  Explain why.
 | |
| 
 | |
| 2011-01-12  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* posix.sgml: Add madvise to BSD list.
 | |
| 
 | |
| 2011-01-12  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* cygwin.din (madvise): Export posix_madvise as madvise.
 | |
| 	* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
 | |
| 	* include/sys/mman.h: Define madvise constants, keep Linux-specific
 | |
| 	constants undefined.
 | |
| 	(madvise): Declare.
 | |
| 
 | |
| 2011-01-12  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler.h (struct part_t): New type.
 | |
| 	(class fhandler_dev_floppy): Convert partitions to part_t pointer.
 | |
| 	Add lock_partition method.
 | |
| 	* fhandler_floppy.cc (fhandler_dev_floppy::lock_partition): New method
 | |
| 	to implement ondemand partition locking.
 | |
| 	(fhandler_dev_floppy::write_file): Call lock_partition from here if
 | |
| 	writing failed due to a potential write restriction on a disk
 | |
| 	partition.  
 | |
| 	(fhandler_dev_floppy::open): Don't lock partitions here.
 | |
| 	(fhandler_dev_floppy::close): Keep track of partition handle reference
 | |
| 	count.  Close handles and remove partitions pointer ony if count is 0.
 | |
| 	(fhandler_dev_floppy::dup): Just copy partitions pointer and increment
 | |
| 	reference count.
 | |
| 
 | |
| 2011-01-11  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* fhandler.h (MAX_PARTITIONS): New definition.
 | |
| 	(class fhandler_dev_floppy): Add partitions array member.  Add close
 | |
| 	method.
 | |
| 	* fhandler_floppy.cc (fhandler_dev_floppy::fhandler_dev_floppy): Zero
 | |
| 	out partitions array.
 | |
| 	(fhandler_dev_floppy::open): Fix "entire disk" condition for call to 
 | |
| 	DeviceIoControl (FSCTL_ALLOW_EXTENDED_DASD_IO).
 | |
| 	When opening disks for writing, call DeviceIoControl (FSCTL_LOCK_VOLUME)
 | |
| 	on all affected disk partitions starting with Vista.
 | |
| 	(fhandler_dev_floppy::close): New method.
 | |
| 	(fhandler_dev_floppy::dup): Duplicate handles in partitions, if any.
 | |
| 	* wincap.h (wincaps::has_restricted_raw_disk_access): New element.
 | |
| 	* wincap.cc: Implement above element throughout.
 | |
| 
 | |
| 2011-01-11  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
 | |
| 
 | |
| 	* termios.cc (cfgetospeed, cfgetispeed): Constify argument per POSIX.
 | |
| 	* include/sys/termios.h (cfgetospeed, cfgetispeed): Declare functions.
 | |
| 	Move macros after declarations and make conditional on !__cplusplus.
 | |
| 
 | |
| 2011-01-11  Corinna Vinschen  <corinna@vinschen.de>
 | |
| 
 | |
| 	* cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR.  Drop setting
 | |
| 	current locale and calling srand48.
 | |
| 
 | |
| 2011-01-02  Christopher Faylor  <me+cygwin@cgf.cx>
 | |
| 
 | |
| 	* ChangeLog-2010: Create from ChangeLog.
 | |
| 	* ChangeLog: Start fresh. 
 |