src/winsup/cygwin ChangeLog spawn.cc winf.cc w ...

cgf@cygwin.com cgf@cygwin.com
Wed Jun 19 16:00:00 GMT 2013


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2013-06-19 16:00:44

Modified files:
	winsup/cygwin  : ChangeLog spawn.cc winf.cc winf.h 

Log message:
	* spawn.cc (child_info_spawn::worker): Eliminate call to newargv.set() in favor
	of conglomerated newargv.setup().  Let newargv.setup() decide when to call
	dup_all().  Only set argc and argv for cygwin processes.
	(av::setup): Rename from av::fixup.  Accept argc and argv parameters.  Fill out
	argv and argc here.  Duplicate whole argv structure when this is a Cygwin
	executable.
	* winf.cc (linebuf::fromargv): Don't bother duplicating argv elements since
	they will never be used.
	* winf.h (av::set): Delete.
	(av::setup): Rename from av::fixup.  Add two parameters.
	(av::replace0_maybe): Assign calloced to 1 rather than 'true' for clarity.
	(av::dup_maybe): Delete.
	(av::dup_all): Set calloced to show that we have duplicated all of the
	arguments in the list.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6170&r2=1.6171
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.346&r2=1.347
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winf.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winf.h.diff?cvsroot=src&r1=1.10&r2=1.11



More information about the Cygwin-cvs mailing list