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]
Other format: [Raw text]

winsup/cygwin ChangeLog fhandler_proc.cc fhand ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2002-05-03 20:24:36

Modified files:
	cygwin         : ChangeLog fhandler_proc.cc fhandler_process.cc 
	                 fhandler_registry.cc fhandler_virtual.cc net.cc 
	                 path.cc 

Log message:
	* net.cc (getdomainname): Change second argument of getdomainname to size_t.
	* fhandler_proc.cc (proc_listing): Add '.' and '..' to directory listing.
	(fhandler_proc::open): Change use of mode to flags.  If the file does not exist
	already, fail with EROFS if O_CREAT flag is set.  Change EROFS error to EACCES
	error when writing to a file.  Use cmalloc to allocate memory for filebuf.
	(fhandler_proc::close): Use cfree to free filebuf.
	(fhandler_proc::get_proc_fhandler): Properly detect attempts to access unknown
	subdir.
	* fhandler_process.cc (process_listing): Add '.' and '..' to directory listing.
	(fhandler_process::open): Use cmalloc to allocate memory for filebuf.
	(fhandler_process::close): Use cfree to free filebuf.
	* fhandler_registry.cc (registry_listing): Add .  and '..' to directory
	listing.
	(fhandler_registry::open): Move check for open for writing before open_key.
	Use cmalloc to allocate memory for filebuf.
	(fhandler_registry::close): Use cfree to free filebuf.
	(fhandler_registry::telldir): Use lower 16 bits of __d_position as position in
	directory.
	(fhandler_registry::seekdir): Ditto.
	* fhandler_virtual.cc (fhandler_virtual::write): Change EROFS error to EACCES
	error.
	(fhandler_virtual::open): Set the NOHANDLE flag.
	(fhandler_virtual::dup): Add call to fhandler_base::dup.  Allocate child's
	filebuf using cmalloc.  Copy filebuf from parent to child.
	(fhandler_virtual::close): Use cfree to free filebuf.
	(fhandler_virtual::~fhandler_virtual): Ditto.
	(from Chris Faylor <cgf@redhat.com>).
	(fhandler_registry::readdir): Add support for '.' and '..' files in
	subdirectories of /proc/registry.
	* path.cc (path_conv::check): Do not return ENOENT if a file is not found in
	/proc.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1184&r2=1.1185
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=uberbaum&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_process.cc.diff?cvsroot=uberbaum&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_registry.cc.diff?cvsroot=uberbaum&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_virtual.cc.diff?cvsroot=uberbaum&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/net.cc.diff?cvsroot=uberbaum&r1=1.106&r2=1.107
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.203&r2=1.204


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