On Fri, Nov 01, 2002 at 04:36:50PM +0100, Alfred M. Szmidt wrote: > Is it intentional that unlink() on GNU/Hurd does not handle > directories? > > It seems that unlink() (a syscall from the looks) on GNU/Linux does > handle directories.
Hm. It does not seem this way to me--the man-page says: EISDIR pathname refers to a directory. (This is the non-POSIX value returned by Linux since 2.1.132.) And the revision-2.4 Linux that I'm running does indeed fail on "unlink (x)" where x is a directory.... -- "Actually, it was true, and I had to change truth before I could continue." --Tim Peters
msg05719/pgp00000.pgp
Description: PGP signature