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 cygheap.cc dcrt0.cc di ...


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

Modified files:
	cygwin         : ChangeLog cygheap.cc dcrt0.cc dir.cc 
	                 dll_init.cc dtable.cc dtable.h fcntl.cc 
	                 fhandler.cc fhandler.h fhandler_console.cc 
	                 fhandler_raw.cc fhandler_socket.cc 
	                 fhandler_tape.cc fhandler_tty.cc fork.cc grp.cc 
	                 heap.cc ioctl.cc malloc.cc mmap.cc passwd.cc 
	                 path.cc path.h pinfo.cc pipe.cc poll.cc 
	                 select.cc shared.cc sigproc.cc spawn.cc 
	                 syscalls.cc sysconf.cc syslog.cc termios.cc 
	                 tty.cc uinfo.cc 

Log message:
	Add "path.h" include throughout, where needed.  Use new path_conv methods and
	operators to simplify testing for directory and attributes, throughout.
	* path.h (path_conv::exists): New method.
	(path_conv::has_attribute): Ditto.
	(path_conv::isdir): Ditto.
	(path_conv::DWORD &): New operator.
	(path_conv::int &): Ditto.
	* dir.cc (rmdir): Eliminate a goto.
	* dtable.cc (dtable::build_fhandler): Accept opt and suffix info for
	path_conv.check.  Return fh == NULL on path_conv error.  Pass unit to set_name
	as appropriate.
	(dtable::reset_unix_path_name): New method.
	* dtable.h (dtable): Declare new method.  Reflect arg changes to
	build_fhandler.
	* fhandler.cc (fhandler_disk_dummy_name): Eliminate.
	(fhandler_base::set_name): Expect paths to be NULL.  Build unix_path_name from
	win32_path_name when it is a device.
	(fhandler_base::reset_unix_path_name): New method.
	(fhandler_base::raw_read): Report EISDIR when ERROR_INVALID_FUNCTION or
	ERROR_INVALID_PARAMETER and reading a directory.
	(fhandler_disk_file::fstat): Don't call stat_dev since we should now never be
	calling fhandler_disk_file methods with devices.
	(fhandler_base::fhandler_base): Clear {unix,win32}_path_name.
	(fhandler_base::~fhandler_base): Always free {unix,win32}_path_name.
	(fhandler_disk_file::fhandler_disk_file): Remove set_no_free_names kludge.
	(fhandler_disk_file::open): Ditto.
	* fhandler.h (fhandler_base::no_free_names): Eliminate.
	(fhandler_base::set_no_free_names): Ditto.
	* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Don't set
	unix_path_name here.
	* path.cc (fchdir): Lock fd table throughout.  Use new
	dtable::reset_unix_path_name method to reset path.
	* syscalls.cc (stat_worker): Reorganize to always call fstat method.  Pass
	path_conv method to fhandler_*::open.
	(chroot): Elminate a goto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.928&r2=1.929
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.cc.diff?cvsroot=uberbaum&r1=1.43&r2=1.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.112&r2=1.113
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dir.cc.diff?cvsroot=uberbaum&r1=1.46&r2=1.47
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaum&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.54&r2=1.55
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fcntl.cc.diff?cvsroot=uberbaum&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.87&r2=1.88
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.84&r2=1.85
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.61&r2=1.62
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_raw.cc.diff?cvsroot=uberbaum&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=uberbaum&r1=1.24&r2=1.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=uberbaum&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.49&r2=1.50
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaum&r1=1.68&r2=1.69
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/grp.cc.diff?cvsroot=uberbaum&r1=1.34&r2=1.35
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/heap.cc.diff?cvsroot=uberbaum&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ioctl.cc.diff?cvsroot=uberbaum&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/malloc.cc.diff?cvsroot=uberbaum&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/mmap.cc.diff?cvsroot=uberbaum&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/passwd.cc.diff?cvsroot=uberbaum&r1=1.36&r2=1.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.163&r2=1.164
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.h.diff?cvsroot=uberbaum&r1=1.31&r2=1.32
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.48&r2=1.49
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/poll.cc.diff?cvsroot=uberbaum&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shared.cc.diff?cvsroot=uberbaum&r1=1.32&r2=1.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.95&r2=1.96
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.89&r2=1.90
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.149&r2=1.150
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sysconf.cc.diff?cvsroot=uberbaum&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syslog.cc.diff?cvsroot=uberbaum&r1=1.17&r2=1.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/termios.cc.diff?cvsroot=uberbaum&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/tty.cc.diff?cvsroot=uberbaum&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/uinfo.cc.diff?cvsroot=uberbaum&r1=1.51&r2=1.52


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