⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog-2001

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻
📖 第 1 页 / 共 5 页
字号:
2001-10-30  Corinna Vinschen  <corinna@vinschen.de>	* fhandler_socket.cc (fhandler_socket::dup): Revert previous change.2001-10-30  Christopher Faylor  <cgf@redhat.com>	* dtable.cc (dtable::dup2): Add some debugging.  Use methods from	passed in class rather than cygheap->fdtab.	* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add	more debugging output.	(fhandler_socket::dup): Allocate new space for prot_info_ptr for	duplicated entry.	(fhandler_socket::close): Loop closesocket() as long as WSAEWOULDBLOCK	is returned.	* syscalls.cc (stat_worker): Always delete fh if it has been created.2001-10-29  Corinna Vinschen  <corinna@vinschen.de>	* security.cc (is_group_member): Call NetLocalGroupGetMembers() for	local machine only.	(get_user_local_groups): Ditto for NetLocalGroupEnum().2001-10-29  Christopher Faylor  <cgf@redhat.com>	* fhandler.cc (fhandler_base::set_name): Set namehash here to catch	name changes.	(fhandler_base::open): Remove namehash setting.	(fhandler_base::fstat): Subtract 1 from arbitrary time setting to avoid	strange ls -l granularity problem.2001-10-29  Christopher Faylor  <cgf@redhat.com>	* select.cc (MAKEready): Remove extraneous select_read.2001-10-29  Corinna Vinschen  <corinna@vinschen.de>	* uinfo.cc (internal_getlogin): Set environment variable $HOME	from either /etc/passwd or $HOMEDRIVE/$HOMEPATH if necessary.2001-10-29  Christopher Faylor  <cgf@redhat.com>	* fhandler.h (fhandler_serial::fhandler_serial): Change to only accept	unit argument.	* fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto.	(fhandler_serial::open): Avoid else when previous clause is a return().	* path.cc (get_devn): Alias /dev/ttyS0 -> /dev/com1, etc.	(get_device_number): Reallow standalone "com1" as a valid name for	/dev/com1.2001-10-26  Christopher Faylor  <cgf@redhat.com>	* select.cc (MAKEready): Check for read_ready in loop since select_read	could set it.	(peek_socket): Check ready/write/except specifically since they could	have been set even prior to peek_socket call.2001-10-24  Christopher Faylor  <cgf@redhat.com>	* shared_info.h (MOUNT_VERSION): Change to a smaller, still arbitrary	number.	* shared.cc (open_shared): Accept a number to denote the shared memory	region.	(memory_init): Use shared memory version as part of the object name of	the shared region.  Ditto for the mount table.	* path.cc (CYGWIN_REGNAME): New define used in place of	CYGWIN_INFO_CYGWIN_REGISTRY_NAME throughout.	* external.cc (cygwin_internal): Implement CW_[GS]ET_CYGWIN_REGISTRY_NAME.	* cygheap.h (init_cygheap::cygwin_regname): New element.2001-10-23  Christopher Faylor  <cgf@redhat.com>	Ensure that all fhandler_*::read definitions are __stdcall throughout.	* fhandler.cc (fhandler_base::set_inheritance): Be more defensive in	debugging code.	* fhandler.h: Adjust regparms throughout to reflect passing 'this'	parameter.	* fhandler_console.cc (fhandler_console::read): Remove unneeded test.	Only honor "key down" events.	* miscfuncs.cc (strcasestr): Reorganize for efficient code use.	(check_null_empty_str_errno): Ditto.	(__check_null_invalid_struct_errno): Ditto.	(__check_invalid_read_ptr_errno): Ditto.	* syscalls.cc (_read): Return 0 when length == 0, as per Single UNIX	Specification.2001-10-22  Christopher Faylor  <cgf@redhat.com>	* debug.cc (set_errno): Return value of errno that was set, just like	the macro.	(setclexec_pid): Replace old handle with new handle.	* debug.h: Reflect change in arguments for setclexec_pid.	* fhandler.cc (fhandler_base::set_inheritance): Ditto.	(fhandler_base::fork_fixup): Ditto.	* cygerrno.h: Reflect return value change for set_errno.2001-10-22  Christopher Faylor  <cgf@redhat.com>	Remove 'cb' parameter and modify fhandler_* constructors throughout.	* dtable.cc (dtable::build_fhandler): Remove debugging output which	uses 'cb'.	* exec.cc (execvp): New function.	(execvpe): Ditto.	* fhandler.cc (fhandler_base::fhandler_base): Use constructor	initialization.	* fhandler.h (fhandler_tty_common::fhandler_tty_common): Ditto.	* fhandler_clipboard.cc (fhandler_dev_clipboard::fhandler_dev_clipboard):	Ditto.	* fhandler_console.cc (fhandler_console::fhandler_console): Ditto.	* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Ditto.	* fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto.	* fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Ditto.	(fhandler_tty_slave::fhandler_tty_slave): Ditto.	(fhandler_pty_master::fhandler_pty_master): Ditto.	* fhandler_windows.cc (fhandler_windows::fhandler_windows): Ditto.2001-10-22  Corinna Vinschen  <corinna@vinschen.de>	Patch suggested by Ian Ray <ian.ray@nokia.com>:	* syscalls.cc (seteuid): Unset environment variables HOMEDRIVE and	HOMEPATH before calling internal_getlogin().	* uinfo.cc (internal_getlogin): Use default HOMEPATH and HOMEDRIVE	from environment if both are present, else query NetUserGetInfo().2001-10-22  Corinna Vinschen  <corinna@vinschen.de>	* net.cc (get_2k_ifconf): Change multiple IP address naming scheme	to Linux style.Sun Oct 21 19:04:37 2001 Alexander Gottwald <ago@informatik.tu-chemnitz.de>	* net.cc (get_2k_ifconf): Added support for multiple IP addresses on	one interface.2001-10-22  Corinna Vinschen  <corinna@vinschen.de>	* miscfuncs.cc (__check_invalid_read_ptr_errno): Return error, if any.2001-10-21  Christopher Faylor  <cgf@redhat.com>	* resource.cc (fill_rusage): Perform paranoid zero structure passed to	GetProcessMemoryInfo.2001-10-22  Robert Collins  <rbtcollins@hotmail.com>	* autoload.cc: Autoload GetProcessMemoryInfo.	* resource.cc (fill_rusage): Calculate ru_maxrss and ru_majflt entries.	(Bug report on this from Guido Serassio in the squid project).	This requires including psapi.h.2001-10-20  Christopher Faylor  <cgf@redhat.com>	* dll_init.cc (dll_list::alloc): Increase retry count to 1000.2001-10-20  Christopher Faylor  <cgf@redhat.com>	* miscfuncs.cc (__check_invalid_read_ptr_errno): New function.	* syscalls.c (_write): Validate that write buffer is accessible for	reading, not writing.	* winsup.h: Declare new function, increase regparmization of check_*	functions.2001-10-19  Corinna Vinschen  <corinna@vinschen.de>	* path.cc (getcwd): Allow len == 0 when buf == NULL.2001-10-18  Christopher Faylor  <cgf@redhat.com>	* syscalls.cc (_read): Validate input pointer.	(_write): Ditto.	(system): Ditto.2001-10-16  Frederic Devernay  <Frederic.Devernay@sophia.inria.fr>	* poll.cc (poll): Call cygwin_select() if any fd is valid.2001-10-16  Corinna Vinschen  <corinna@vinschen.de>	* fhandler_raw.cc (fhandler_dev_raw::open): Eliminate compatibility	code since no Win32 device names are used anymore.	* fhandler_tape.cc (fhandler_dev_tape::tape_set_blocksize): Allow	0 as blocksize to indicate variable blocksize.	* path.cc (win32_device_name): Generate NT internal device names	using upper/lower case names for readability.	Generate \DosDevices\<letter>: device name for mount table	compatibility devices.2001-10-16  Corinna Vinschen  <corinna@vinschen.de>	* fhandler_tape.cc (fhandler_dev_tape::tape_status): Report	EOTWarningZoneSize in get->mt_eotwarningzonesize.	* include/cygwin/mtio.h: Define DEFTAPE.	(struct mtget): Add member `mt_eotwarningzonesize'. Add a comment.	* include/cygwin/version.h: Bump API minor version to 47.2001-10-16  Christopher Faylor  <cgf@redhat.com>	* fhandler.cc (fhandler_base::fork_fixup): Guard against compiler	warning.2001-10-16  Corinna Vinschen  <corinna@vinschen.de>	* autoload.cc: Add load statement for `NtOpenFile'.	* fhandler.h (fhandler_dev_raw::get_unit): New method.	(fhandler_dev_tape::norewind): Eliminate.	(fhandler_dev_tape::is_rewind_device): New method.	* fhandler_raw.cc (fhandler_dev_raw::open): Open new	fixed device name devices using NT internal method.	Keep calling fhandler_base::open() for old mount table	device mapping compatibility devices.	(fhandler_dev_raw::fstat): Eliminate.  Settings are done	by fhandler_base::fstat() already.	* fhandler_tape.cc: Remove `norewind' usage throughout.	* ntdll.h: Define FILE_SYNCHRONOUS_IO_NONALERT.	Define struct _IO_STATUS_BLOCK.	Declare NtOpenFile().	* path.cc (get_raw_device_number): Add new approach for	using fixed device names.	(win32_device_name): Ditto.	(get_device_number): Ditto.  Require POSIX path to begin	with "/dev/".	(mount_info::conv_to_win32_path): Call win32_device_name()	instead of get_device_number() after evaluating mount points	to allow changing the win32 destination path again.	* security.cc (str2buf2uni): Remove `static' to be able to	call function from fhandler_dev_raw::open().	* wincap.cc: Set flag has_raw_devices appropriately.	* wincap.h: Add flag has_raw_devices.2001-10-16  Christopher Faylor  <cgf@redhat.com>	* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation	from set_errno.2001-10-16  Christopher Faylor  <cgf@redhat.com>	* mmap.cc (mmap): Assign 'fh' from cygheap_fdget.  Use 'fh' everywhere.2001-10-15  Christopher Faylor  <cgf@redhat.com>	* cygerrno.h (set_errno): Define more informative version of this	function for debugging.	(__set_errno): Declare when DEBUGGING.	* cygheap.h (cygheap_fdget::cygheap_fdget): Add a flag to control when	errno is set.	* debug.cc (__set_errno): New function.	* fcntl.cc (_fcntl): Fix so that correct fd is used for second argument	to dup2.	* syscalls.cc (_cygwin_istext_for_stdio): Don't set errno here when	using cygheap_fdget.2001-10-15  Christopher Faylor  <cgf@redhat.com>	* fhandler.cc (fhandler_base::fork_fixup): Don't protect handle.	* dlfcn.cc: Fix to confirm to coding standards.	Reorganize includes throughout to accommodate new cygheap.h usage.	* cygheap.h (cygheap_fdmanip): New class: simplifies locking and	retrieval of fds from cygheap->fdtab.	(cygheap_fdget): Ditto.	(cygheap_fdnew): Ditto.	* fcntl.cc (_fcntl): Use new method to lock fdtab and retrieve info.	* ioctl.cc (ioctl): Ditto.	* mmap.cc (mmap): Ditto.	* net.cc: Ditto, throughout.	* passwd.cc (getpass): Ditto.	* path.cc (fchdir): Ditto.	* pipe.cc (make_pipe): Ditto.	* sec_acl.cc (facl): Ditto.	* syscalls.cc: Ditto, throughout.	* termios.cc: Ditto, throughout.2001-10-15  Corinna Vinschen  <corinna@vinschen.de>	* uname.cc (uname):  Use `wProcessorLevel' unless OS sets it wrong.	Use `dwProcessorType' then instead.	* wincap.cc: Set flag has_valid_processorlevel appropriately.	* wincap.h: Add flag has_valid_processorlevel.2001-10-14  Christopher Faylor  <cgf@redhat.com>	* dtable.cc (dtable::build_fhandler_from_name): Use PC_FULL to	determine path name.	* path.cc (fchdir): Remove rel -> abs path conversion.Sun Oct 14 08:10:12 2001  Gary R. Van Sickle	* fork.cc (fork_parent): Correct the "unable to allocate	forker_finished event" error message.  It named the wrong event before.2001-10-13  Christopher Faylor  <cgf@redhat.com>	* autoload.cc (load_wsock32): Declare dummy function to force loading	of winsock.	* fhandler.cc (fhandler_base::set_inheritance): Make debugging output	more verbose.	* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Force loading	of winsock32 if winsock2 not available.	* net.cc (set_socket_inheritance): Use DuplicateHandle in all cases to	set inheritance correctly.	(fdsock): Use winsock2_active macro to determine when to set socket	inheritance.  Remove fdtab resource locking since this function should	already be protected.	(cygwin_accept): Simplify logic.  Ensure that fdtab unlock is not	called inappropriately.	(cygwin_rcmd): Use fdtab locking.	(cygwin_rresvport): Ditto.	(cygwin_rexec): Ditto.	* select.cc (peek_socket): Set errno appropriately if winsock select	fails.2001-10-13  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>	* winsup.h: Declare check_pty_fds.	* syscalls.cc (check_pty_fds): Rename from check_ttys_fds.  Also check	pty master.	(setsid): Use check_pty_fds.	* dtable.cc (dtable::dec_console_fds): Add check on pty fds.2001-10-13  Ralf Habacker  <Ralf.Habacker@freenet.de>	* fhandler_dsp.cc (fhandler_dsp::ioctl): Return 0 for successful	SNDCTL_DSP_GETBLKSIZE operation.2001-10-13  Christopher Faylor  <cgf@redhat.com>	Remove obsolete 'name' arg from fhandler_* constructors throughout.	* winsup.h (winsock_active): New macro.	(winsock2_active): Ditto.	* autoload.cc (wsock_init): Use new macros to decide if winsock or	winsock2 is loaded.	(nonexist_wsock32): Dummy function to force winsock load.	(nonexist_ws2_32): Dummy function to force winsock2 load.	* fhandler.h (fhandler_socket::fstat): Declare new method.  Currently	unused.	* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Check	that winsock2 is active before trying WSADuplicateSocketA.	(fhandler_socket::fixup_after_fork): Add extra check for	winsock2_active.  Otherwise use iffy procedures for Windows 95.	(fhandler_socket::fixup_after_exec): Add debugging.	(fhandler_socket::dup): Add debugging.	(fhandler_socket::fstat): New method.	(fhandler_socket::set_close_on_exec): Attempt to perform iffy stuff on	Windows 95.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -