Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-11 09:16:18 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-11 09:16:18 +0300
commitda9e28d0fafc3f861e1f6626d772a8445a9094ab (patch)
treed39c328628f91a57c9a86f879010ddf8ef11110b /winsup/utils/cygcheck.cc
parentd0d517913c0c66166bd895f0d14b79260eeb69bb (diff)
* cygcheck.cc (main): Display package info when '-s' is specified.
* dump_setup.cc (dump_setup): Change header. Remove typo. Always sort packages output.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index e9e800204..31d325f8e 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1281,7 +1281,14 @@ main (int argc, char **argv)
}
if (sysinfo)
- dump_sysinfo ();
+ {
+ dump_sysinfo ();
+ if (!check_setup)
+ {
+ dump_setup (verbose, NULL);
+ puts ("");
+ }
+ }
if (!givehelp)
printf ("Use -h to see help about each section\n");