In message <20100218044931.s95...@delplex.bde.org>, Bruce Evans writes:
>On Wed, 17 Feb 2010, Poul-Henning Kamp wrote:
>
>> Log:
>>  Mention EISDIR as a possible errno.
>
>It's not a possible error.

critter phk> cat > a.c
#include <stdio.h>
#include <err.h>

int
main(int argc, char **argv)
{
        if (unlink("/"))
                err(1, "Told you so");
        return (0);
}
critter phk> cc a.c
critter phk> ./a.out
a.out: Told you so: Is a directory
critter phk> 

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
p...@freebsd.org         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to