[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002699: libc6: m68k,sh4 readdir not returning filled in dirent pointer



Correction, that is current autobuilders on 68k and sh4.

Take care,

Camm Maguire <camm@debian.org> writes:

> Package: libc6
> Version: 2.33-1
> Severity: serious
> Justification: Policy 2.2.1
> X-Debbugs-Cc: camm@debian.org
>
> With a file "configure" in the current directory, the following fails
> (only in the autobuilder) on m68k and s390.
>
> =============================================================================
>
> #include <dirent.h>
> #include <string.h>
>
> int main() {
>   struct dirent *d;
>   DIR *r=opendir("./");
>
>   for (;(d=readdir(r)) && strcmp("configure",d->d_name););
>   return d && d->d_type==DT_REG ? 0 : -1;
> }
> =============================================================================

-- 
Camm Maguire			     		    camm@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


Reply to: