diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-03-04 10:20:43 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-03-04 10:20:43 +0000 |
commit | 7e06b1c537c09ba6479ec8fe2d465ffb6e62c1ff (patch) | |
tree | 36b26c055129f6896fbe1caf1219e6502060d381 | |
parent | 274f164366078b197cdce3fb75aea9e59c1b38ce (diff) |
EACCESS -> EACCES, comme dans Posix.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1312 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | otherlibs/unix/unix.ml | 2 | ||||
-rw-r--r-- | otherlibs/unix/unix.mli | 2 | ||||
-rw-r--r-- | otherlibs/unix/unixsupport.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/otherlibs/unix/unix.ml b/otherlibs/unix/unix.ml index 451588f81..018de678a 100644 --- a/otherlibs/unix/unix.ml +++ b/otherlibs/unix/unix.ml @@ -13,7 +13,7 @@ type error = E2BIG - | EACCESS + | EACCES | EAGAIN | EBADF | EBUSY diff --git a/otherlibs/unix/unix.mli b/otherlibs/unix/unix.mli index 5634ad745..36556a93f 100644 --- a/otherlibs/unix/unix.mli +++ b/otherlibs/unix/unix.mli @@ -18,7 +18,7 @@ type error = (* Errors defined in the POSIX standard *) E2BIG (* Argument list too long *) - | EACCESS (* Permission denied *) + | EACCES (* Permission denied *) | EAGAIN (* Resource temporarily unavailable; try again *) | EBADF (* Bad file descriptor *) | EBUSY (* Resource unavailable *) diff --git a/otherlibs/unix/unixsupport.c b/otherlibs/unix/unixsupport.c index 1141d2c9d..9e07366d1 100644 --- a/otherlibs/unix/unixsupport.c +++ b/otherlibs/unix/unixsupport.c @@ -23,8 +23,8 @@ #ifndef E2BIG #define E2BIG (-1) #endif -#ifndef EACCESS -#define EACCESS (-1) +#ifndef EACCES +#define EACCES (-1) #endif #ifndef EAGAIN #define EAGAIN (-1) @@ -227,7 +227,7 @@ #endif int error_table[] = { - E2BIG, EACCESS, EAGAIN, EBADF, EBUSY, ECHILD, EDEADLK, EDOM, + E2BIG, EACCES, EAGAIN, EBADF, EBUSY, ECHILD, EDEADLK, EDOM, EEXIST, EFAULT, EFBIG, EINTR, EINVAL, EIO, EISDIR, EMFILE, EMLINK, ENAMETOOLONG, ENFILE, ENODEV, ENOENT, ENOEXEC, ENOLCK, ENOMEM, ENOSPC, ENOSYS, ENOTDIR, ENOTEMPTY, ENOTTY, ENXIO, EPERM, EPIPE, ERANGE, |