NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: pkg/57145: gmake: *** INTERNAL: readdir: Operation not supported. Stop.
> > this is a gmake bug. it checks errno after readdir() but readdir() is
> > not expected to set/clear errno for 'end of dir' condition, and thus
> > converts some prior random error into a readdir error.
>
> Not a gmake bug. readdir is required to preserve errno in the
yes - the call in gmake always sets errno = 0 before calling
readdir, but it's via a macro and i missed this.
i *thought* the bug was not setting errno = 0 before.
> Can you share your reproducer for this? Maybe we can adapt it to an
> atf test.
"use pkgsrc, see this failure every few weeks or so".
.mrg.
Home |
Main Index |
Thread Index |
Old Index