* 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> 2004-10-06 Corinna Vinschen <corinna@vinschen.de>
* strace.cc (_impure_ptr): Remove. * strace.cc (_impure_ptr): Remove.

View File

@ -960,7 +960,7 @@ dump_sysinfo ()
if (e-s) if (e-s)
printf ("\t%.*s\n", e - s, s); printf ("\t%.*s\n", e - s, s);
else else
puts ("\tWarning: Empty path-component"); puts ("\t.");
count_path_items++; count_path_items++;
if (!*e) if (!*e)
break; break;