* cygcheck.cc (dump_sysinfo): Warn about empty path-components.
This commit is contained in:
parent
b0637a5191
commit
5f175ea697
|
@ -1,3 +1,7 @@
|
|||
2004-10-06 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
|
||||
|
||||
* cygcheck.cc (dump_sysinfo): Warn about empty path-components.
|
||||
|
||||
2004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
|
||||
|
||||
* cygcheck.cc (pretty_id): Close pipe.
|
||||
|
|
|
@ -957,7 +957,10 @@ dump_sysinfo ()
|
|||
while (1)
|
||||
{
|
||||
for (e = s; *e && *e != sep; e++);
|
||||
printf ("\t%.*s\n", e - s, s);
|
||||
if (e-s)
|
||||
printf ("\t%.*s\n", e - s, s);
|
||||
else
|
||||
puts ("\tWarning: Empty path-component");
|
||||
count_path_items++;
|
||||
if (!*e)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue