|
|||||||||||
|
library/3056: exec(3) doesn't document EISDIR, but implementation returns it
From: <adi(at)hexapodia.org>
Date: Mon Dec 30 2002 - 11:42:41 EST
System : OpenBSD 2.9 Architecture: OpenBSD.i386 Machine : i386 >How-To-Repeat: % mkdir /tmp/foo % mkdir /tmp/foo/ls % cat foo.c #include #include <errno.h> #include <unistd.h>
int main(void)
execlp("ls", "ls", "-l", (char*)0);
RCS file: /cvsup/OpenBSD/src/lib/libc/gen/exec.c,v retrieving revision 1.12 diff -u -r1.12 exec.c
--- exec.c 2002/02/19 19:39:36 1.12
+++ exec.c 2002/12/30 16:34:13
@@ -211,6 +211,7 @@
switch(errno) {
case E2BIG:
goto done;
+ case EISDIR:
case ELOOP:
case ENAMETOOLONG:
case ENOENT:
>Release-Note:
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:43 EDT |
||||||||||
|
|||||||||||