src/winsup/cygwin ChangeLog cygheap.cc dcrt0.c ...

cgf@sourceware.cygnus.com cgf@sourceware.cygnus.com
Mon Sep 4 20:16:00 GMT 2000


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.cygnus.com	2000-09-04 20:16:29

Modified files:
	winsup/cygwin  : ChangeLog cygheap.cc dcrt0.cc path.cc path.h 
	                 spawn.cc 

Log message:
	* path.cc (cwd_win32): Eliminate.
	(cwd_posix): Eliminate.
	(cwd_hash): Eliminate.
	(cwdstuff::init): Rename from cwd_init.
	(cwdstuff::fixup_after_exec): Rename from cwd_fixup_after_exec.
	(cwdstuff::get): Rename from get_cwd_inner.
	(normalize_posix_path): Eliminate cwd argument.  Just calculate when necessary.
	(normalize_win32_path): Ditto.
	(mount_info::conv_to_win32_path): Eliminate cwd retrieval here.
	(mount_info::conv_to_posix_path): Ditto.
	(hash_path_name): Accomodate additional methods in cwdstuff.
	(get_cwd_win32): Eliminate.
	(getcwd): Use cwdstuff methods.  Properly handle case where buf == NULL and len
	< 0.
	(cwdstuff::get_hash): New method.
	(cwdstuff::get_initial): New method.
	(cwdstuff::set): New method.
	(cwdstuff::get): New method.
	(cwdstuff::copy): New method.
	* path.h: Move cwdstuff struct here.  Add a bunch of stuff to cwdstuff.  Make
	cygcwd an extern.
	* spawn.cc (spawn_guts): Use copy method to get copies of cwd info to pass to
	execed process.
	* dcrt0.cc (dll_crt0_1): Use cygcwd methods for cwd initialization.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.293&r2=1.294
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.cc.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.51&r2=1.52
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.47&r2=1.48
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.35&r2=1.36



More information about the Cygwin-cvs mailing list