Provide euidaccess, canonicalize_file_name; fix fchmodat.

* syscalls.cc (fchmodat): lchmod is not yet implemented.
(euidaccess): New function.
* path.cc (realpath): Update comment.
(canonicalize_file_name): New function.
* include/cygwin/stdlib.h (canonicalize_file_name): Declare it.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* cygwin.din: Export canonicalize_file_name, eaccess, euidaccess.
* posix.sgml: Mention them.
This commit is contained in:
Eric Blake
2009-09-25 23:55:00 +00:00
parent 358d4e3cb0
commit 2bf78f0928
7 changed files with 65 additions and 12 deletions

View File

@@ -165,6 +165,7 @@ cabsf NOSIGFE
_cabsf = cabsf NOSIGFE
calloc SIGFE
_calloc = calloc SIGFE
canonicalize_file_name SIGFE
cbrt NOSIGFE
_cbrt = cbrt NOSIGFE
cbrtf NOSIGFE
@@ -296,6 +297,7 @@ dup SIGFE
_dup = dup SIGFE
dup2 SIGFE
_dup2 = dup2 SIGFE
eaccess = euidaccess SIGFE
ecvt SIGFE
_ecvt = ecvt SIGFE
ecvtbuf SIGFE
@@ -341,6 +343,7 @@ _erff = erff NOSIGFE
err SIGFE
__errno NOSIGFE
errx SIGFE
euidaccess SIGFE
execl SIGFE
_execl = execl SIGFE
execle SIGFE