winsup/cygwin ChangeLog autoload.cc cygheap.cc ...

cgf@cygwin.com cgf@cygwin.com
Mon May 27 18:55:00 GMT 2002


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2002-05-27 18:55:41

Modified files:
	cygwin         : ChangeLog autoload.cc cygheap.cc 
	                 cygserver_process.cc cygserver_shm.cc debug.h 
	                 dir.cc dtable.cc exceptions.cc fhandler.cc 
	                 fhandler.h fhandler_console.cc 
	                 fhandler_disk_file.cc fhandler_proc.cc 
	                 fhandler_process.cc fhandler_registry.cc 
	                 fhandler_termios.cc fhandler_tty.cc ipc.cc 
	                 mmap.cc net.cc ntdll.h path.cc path.h poll.cc 
	                 security.cc shm.cc syscalls.cc uname.cc 
	                 window.cc 

Log message:
	* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
	(LoadFuncEx2): Adapted from LoadFuncEx.  Provides control of return value for
	nonexistent function.
	(NtQueryObject): Declare.
	(IsDebuggerPresent): Declare via LoadFuncEx2 and always return true if not
	available.
	* debug.h (being_debugged): Just rely on IsDebuggerPresent return value.
	* dtable.cc (handle_to_fn): New function.
	(dtable::init_std_file_from_handle): Attempt to derive std handle's name via
	handle_to_fn.
	(dtable::build_fhandler_from_name): Fill in what we can in path_conv structure
	when given a handle and path doesn't exist.
	* fhandler.cc (fhandler_base::open): Don't set the file pointer here.  Use
	pc->exists () to determine if file exists rather than calling GetFileAttributes
	again.
	* fhandler.h (fhandler_base::exec_state_isknown): New method.
	(fhandler_base::fstat_helper): Add extra arguments to declaration.
	(fhandler_base::fstat_by_handle): Declare new method.
	(fhandler_base::fstat_by_name): Declare new method.
	* fhandler_disk_file (num_entries): Make __stdcall.
	(fhandler_base::fstat_by_handle): Define new method.
	(fhandler_base::fstat_by_name): Define new method.
	(fhandler_base:fstat): Call fstat_by_{handle,name} as appropriate.
	(fhandler_disk_file::fstat_helper): Accept extra arguments for filling out stat
	structure.  Move handle or name specific stuff to new methods above.
	(fhandler_disk_file::open): Use real_path->exists rather than calling
	GetFileAttributes again.
	* ntdll.h (FILE_NAME_INFORMATION): Define new structure.
	(OBJECT_INFORMATION_CLASS): Partially define new enum.
	(OBJECT_NAME_INFORMATION): Define new structure.
	(NtQueryInformationFile): New declaration.
	(NtQueryObject): New declaration.
	* path.cc (path_conv::fillin): Define new method.
	* path.h (path_conv::fillin): Declare new method.
	(path_conv::drive_thpe): Rename from 'get_drive_type'.
	(path_conv::volser): Declare new method.
	(path_conv::volname): Declare new method.
	(path_conv::root_dir): Declare new method.
	* syscalls.cc (fstat64): Send real path_conv to fstat as second argument.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1218&r2=1.1219
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/autoload.cc.diff?cvsroot=uberbaum&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.cc.diff?cvsroot=uberbaum&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygserver_process.cc.diff?cvsroot=uberbaum&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygserver_shm.cc.diff?cvsroot=uberbaum&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/debug.h.diff?cvsroot=uberbaum&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dir.cc.diff?cvsroot=uberbaum&r1=1.61&r2=1.62
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.83&r2=1.84
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.113&r2=1.114
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.117&r2=1.118
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.117&r2=1.118
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.72&r2=1.73
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=uberbaum&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=uberbaum&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_process.cc.diff?cvsroot=uberbaum&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_registry.cc.diff?cvsroot=uberbaum&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaum&r1=1.27&r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.60&r2=1.61
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ipc.cc.diff?cvsroot=uberbaum&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/mmap.cc.diff?cvsroot=uberbaum&r1=1.57&r2=1.58
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/net.cc.diff?cvsroot=uberbaum&r1=1.109&r2=1.110
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ntdll.h.diff?cvsroot=uberbaum&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.211&r2=1.212
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.h.diff?cvsroot=uberbaum&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/poll.cc.diff?cvsroot=uberbaum&r1=1.27&r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/security.cc.diff?cvsroot=uberbaum&r1=1.93&r2=1.94
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shm.cc.diff?cvsroot=uberbaum&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.191&r2=1.192
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/uname.cc.diff?cvsroot=uberbaum&r1=1.17&r2=1.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/window.cc.diff?cvsroot=uberbaum&r1=1.17&r2=1.18



More information about the Cygwin-cvs mailing list