OSDN Git Service

* cygcheck.cc (main): Fix some formatting and help text printing.
authorcorinna <corinna>
Fri, 15 Aug 2003 20:26:11 +0000 (20:26 +0000)
committercorinna <corinna>
Fri, 15 Aug 2003 20:26:11 +0000 (20:26 +0000)
commit728627cd4bffe2fecd614da9be20b3bfa2a0053e
tree4a3b33731f39ba139756fa91291f84494e7550b9
parent1bffcc311508984839ae4723631f5eae507e6cf5
* cygcheck.cc (main): Fix some formatting and help text printing.

* cygcheck.cc (find_package,list_package): New global
variables.
(usage): Add "--find-package" and "--list-package" options,
reformat output.
(longopts, opts): Add "--find-package" and "--list-package"
options.
(main): Process the "--find-package" and "--list-package"
flags.  Add new semantic checks.  Add calls to find_package()
and list_package().
* dump_setup.cc: Fix header comment.
(match_argv): Change return type to int to distinguish
between real matches and default ones.
(open_package_list): New static function.
(check_package_files): Factor out opening the package list
file into open_package_list().
(get_packages): New static function.
(dump_setup): Factor out getting a list of packages into
get_packages().
(package_list, package_find): New global functions.
winsup/utils/ChangeLog
winsup/utils/cygcheck.cc
winsup/utils/dump_setup.cc