public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* setup ChangeLog filemanip.cc filemanip.h find. ...
@ 2002-05-14 19:59 cgf
0 siblings, 0 replies; 2+ messages in thread
From: cgf @ 2002-05-14 19:59 UTC (permalink / raw)
To: cygwin-apps-cvs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* setup ChangeLog filemanip.cc filemanip.h find. ...
@ 2002-05-14 15:46 cgf
0 siblings, 0 replies; 2+ messages in thread
From: cgf @ 2002-05-14 15:46 UTC (permalink / raw)
To: cygwin-apps-cvs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-15 2:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14 19:59 setup ChangeLog filemanip.cc filemanip.h find. cgf
-- strict thread matches above, loose matches on Subject: below --
2002-05-14 15:46 cgf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).