* 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>
|
2004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
|
||||||
|
|
||||||
* cygcheck.cc (pretty_id): Close pipe.
|
* cygcheck.cc (pretty_id): Close pipe.
|
||||||
|
@ -957,7 +957,10 @@ dump_sysinfo ()
|
|||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
for (e = s; *e && *e != sep; e++);
|
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");
|
||||||
count_path_items++;
|
count_path_items++;
|
||||||
if (!*e)
|
if (!*e)
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user