Date: Wed, 17 Feb 2010 18:58:25 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Bruce Evans <brde@optusnet.com.au> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r203990 - head/lib/libc/sys Message-ID: <6413.1266433105@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 18 Feb 2010 05:47:19 %2B1100." <20100218044931.S95007@delplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20100218044931.S95007@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 phk@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6413.1266433105>