Stefan de Konink wrote: > I am unable to use S_ISREG, basically I guess it is working but > stat.st_mode is not set in a correct way.
Using strace I see:
stat("/etc/cherokee/cherokee.conf", {st_mode=S_IFREG|0644, st_size=544,
...}) = 0
stat ("/etc/cherokee/cherokee.conf", &info);
printf("%d\n", S_ISREG(info.st_mode));
Still returns 0;
Stefan
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc
