readdir not setting d_type 0.9.28
Rogelio Serrano
rogelio.serrano at gmail.com
Wed Sep 6 10:40:27 PDT 2006
readdir is not setting d_type in struct dirent?
am i missing something?
hre is the test im using:
#include <dirent.h>
#include <stdio.h>
int
main()
{
struct dirent * de;
DIR * mydir;
mydir = opendir("testdir");
de = readdir(mydir);
while(de)
{
printf("%d\n", de->d_type);
de = readdir(myfir);
}
closedir(mydir);
return 0;
}
im using 0.9.28 on 2.6.17
--
the thing i like with my linux pc is that i can sum up my complaints in 5 items
More information about the uClibc
mailing list