This is the mail archive of the
cygwin-apps-cvs@sources.redhat.com
mailing list for the cygwin-apps project.
setup ChangeLog filemanip.cc filemanip.h find. ...
- From: cgf at sources dot redhat dot com
- To: cygwin-apps-cvs at sources dot redhat dot com
- Date: 14 May 2002 22:46:37 -0000
- Subject: setup ChangeLog filemanip.cc filemanip.h find. ...
CVSROOT: /cvs/cygwin-apps
Module name: setup
Branch: setup-200205
Changes by: cgf@sources.redhat.com 2002-05-14 15:46:37
Modified files:
. : ChangeLog filemanip.cc filemanip.h find.cc
fromcwd.cc ini.cc inilex.l iniparse.y
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=2.218.2.6&r2=2.218.2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.cc.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=2.6&r2=2.6.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.h.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=1.7&r2=1.7.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/find.cc.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=2.3.6.1&r2=2.3.6.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/fromcwd.cc.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=2.22&r2=2.22.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ini.cc.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=2.22.2.1&r2=2.22.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/inilex.l.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=2.14.2.1&r2=2.14.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/iniparse.y.diff?cvsroot=cygwin-apps&only_with_tag=setup-200205&r1=2.27.2.1&r2=2.27.2.2