Follow-up Comment #1, bug #63330 (project make):
Hm. Maybe on Solaris readdir() doesn't reset errno? In src/dir.c you'll find
this code:
ENULLLOOP (d, readdir (dir->dirstream));
if (d == 0)
{
if (errno)
pfatal_with_name ("INTERNAL: readdir");
break;
}
Try changing it to set errno first:
errno = 0; /* add this line */
ENULLLOOP (d, readdir (dir->dirstream));
if (d == 0)
{
if (errno)
pfatal_with_name ("INTERNAL: readdir");
break;
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63330>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/