* cygcheck.cc (dump_sysinfo): Don't warn about empty path components, just

display ``.''.
This commit is contained in:
Christopher Faylor 2004-10-09 23:15:36 +00:00
parent 73131c2d20
commit 82e127caac
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* cygcheck.cc (dump_sysinfo): Don't warn about empty path components,
just display ``.''.
2004-10-06 Corinna Vinschen <corinna@vinschen.de>
* strace.cc (_impure_ptr): Remove.
@ -45,7 +50,7 @@
2004-05-29 John Paul Wallington <jpw@gnu.org>
* ssp.c (usage): Add missing linefeed.
* ssp.c (usage): Add missing linefeed.
2004-05-27 Christopher Faylor <cgf@alum.bu.edu>

View File

@ -958,9 +958,9 @@ dump_sysinfo ()
{
for (e = s; *e && *e != sep; e++);
if (e-s)
printf ("\t%.*s\n", e - s, s);
printf ("\t%.*s\n", e - s, s);
else
puts ("\tWarning: Empty path-component");
puts ("\t.");
count_path_items++;
if (!*e)
break;