This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

winsup/cygwin ChangeLog dir.cc fhandler.cc fha ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2001-10-04 21:21:41

Modified files:
	cygwin         : ChangeLog dir.cc fhandler.cc fhandler.h 
	                 fhandler_mem.cc fhandler_raw.cc 
	                 fhandler_tape.cc syscalls.cc 

Log message:
	Add second path_conv * argument to fstat()s throughout.
	* fhandler.h: Change read and fstat to regparm/stdcall throughout.
	(fhandler_base::fstat): Just declare.  Don't define.
	(fhandler_disk_file::fstat_helper): Declare.
	* fhandler.cc (fhandler_base::fstat): Move here from fhandler.h, adapt from
	former stat_dev().
	(fhandler_disk_file::fstat): Move most of the disk-file-specific logic from
	stat_worker to here.  Use fstat_helper to derive final fstat output.
	(fhandler_disk_file::fstat_helper): New method, renamed from former fstat
	method.
	(num_entries): Moved here from syscalls.cc.
	* fhandler_mem.cc (fhandler_dev_mem::fstat): Use base class to initialize most
	stuff.  Invert has_physical_mem_access test for establishing permissions.
	* fhandler_raw.cc (fhandler_dev_raw::fstat): Eliminate unneed test and memory
	clearing.  Use base class to initialize most stuff.
	* syscalls.cc (stat_dev): Eliminate.
	(stat_worker): Simply call fstat method to generate fstat output.  Move all
	device specific code to appropriate fstats.
	* dir.cc (opendir): Pass correct arg to stat_worker to allow following
	symlinks.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.937&r2=1.938
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dir.cc.diff?cvsroot=uberbaum&r1=1.48&r2=1.49
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.89&r2=1.90
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.86&r2=1.87
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_mem.cc.diff?cvsroot=uberbaum&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_raw.cc.diff?cvsroot=uberbaum&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=uberbaum&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.154&r2=1.155


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]