[Camm Maguire] libc6: m68k,sh4 readdir not returning filled in dirent pointer
Camm Maguire <[email protected]> Wed, 29 Dec 2021 09:06:10 -0500
| Newsgroups | gmane.linux.debian.ports.superh |
|---|---|
| Message-ID | <[email protected]> |
-------------------- Start of forwarded message -------------------- From: Camm Maguire <[email protected]> To: Debian Bug Tracking System <[email protected]>,[email protected],[email protected],[email protected] Subject: libc6: m68k,s390 readdir not returning filled in dirent pointer Date: Mon, 27 Dec 2021 12:49:46 -0500 Package: libc6 Version: 2.33-1 Severity: serious Justification: Policy 2.2.1 X-Debbugs-Cc: [email protected] 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 [email protected] ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah -------------------- End of forwarded message --------------------