[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unlink() and directories.

From: Joshua Judson Rosen
Subject: Re: unlink() and directories.
Date: Fri, 1 Nov 2002 11:20:43 -0500
User-agent: Mutt/1.4i

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

Attachment: pgpZIASYwsFPN.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]