A linux kernel bug

H.J. Lu (hjl@lucon.org)
Fri, 23 Oct 1998 12:20:29 -0700 (PDT)


Here is a simple testcase for the Linux kernel bug. The problem is if
"foo" is an empty directory, the Linux kernel returns ENOTDIR, instead
of ENOENT. Can we fix it in Linux 2.2?

Thanks.

-- 
H.J. Lu (hjl@gnu.org)
----
#include <errno.h>
#include <unistd.h>

main () { if (access ("foo/tmp/", F_OK) < 0) perror ("access"); }

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/