> You are being inconsistent.
> If remove() is documented not to remove directories,
> but it calls rmdir() then that must be a glibc bug.
Indeed. The man page is out of date: The info file for glibc 2.1
says:
- Function: int remove (const char *FILENAME)
This is the ISO C function to remove a file. It works like
`unlink' for files and like `rmdir' for directories. `remove' is
declared in `stdio.h'.
Good. Updated remove.3.
-
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/