This is the mail archive of the cygwin-apps-cvs@sources.redhat.com mailing list for the cygwin-apps 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]

setup ChangeLog filemanip.cc filemanip.h find. ...


CVSROOT:	/cvs/cygwin-apps
Module name:	setup
Changes by:	cgf@sources.redhat.com	2002-05-14 19:59:19

Modified files:
	.              : ChangeLog filemanip.cc filemanip.h find.cc 
	                 fromcwd.cc ini.cc inilex.l iniparse.y 

Log message:
	* ini.cc (find_routine): Don't clear buffer it it's NULL.
	* filemanip.h (trail): Declare.
	* filemanip.cc (trail): New function.
	(find_tar_ext): Use trail() instead of strstr().
	* fromcwd.cc (check_ini): Ditto.
	* ini.cc (find_routine): Ditto.  Don't tack local_dir to path since it should
	now be fully qualified.  Set ini_filename.  Reset error_buf and error_count for
	any subsequent ini file parsing.
	(ini_filename): New static variable for parse error reporting.
	(yyerror): Use full path of setup.ini in error message.  Subtract one from line
	number if at bol.
	* find.cc (found_part): Eliminate.
	(find_sub): Call for_each with full path found rather than just file component.
	(find): Don't calculate found_part.
	* inilex.l (ini_init): Flush input buffer and reset line number.
	(yybol): New function.  Exports YY_AT_BOL.
	* iniparse.y: Increase stack depth to allow more tokens to be processed.
	(yyparse): Remove newline from error condition to allow subsequent per-line
	error processing to proceed normally.
	* find.cc (find_sub): Be more defensive in preserving trailing parts of
	components when doing recursive directory searches or calling user supplied
	for_each().
	* ini.cc (find_routine): Don't assume that any path name with "setup.ini" in it
	is actually a setup.ini file.  Only honor trailing components.  Copy path
	argument to temporary storage when unescaping to prevent nuking of argument.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.238&r2=2.239
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.cc.diff?cvsroot=cygwin-apps&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.h.diff?cvsroot=cygwin-apps&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/find.cc.diff?cvsroot=cygwin-apps&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/fromcwd.cc.diff?cvsroot=cygwin-apps&r1=2.24&r2=2.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ini.cc.diff?cvsroot=cygwin-apps&r1=2.28&r2=2.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/inilex.l.diff?cvsroot=cygwin-apps&r1=2.16&r2=2.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/iniparse.y.diff?cvsroot=cygwin-apps&r1=2.31&r2=2.32


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