MS-Windows followup for revision 110889, regarding faccessat.
commit1192af6a7b9cbfe0f5fead61c12c569399173586
authorEli Zaretskii <eliz@gnu.org>
Wed, 14 Nov 2012 17:22:55 +0000 (14 19:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 14 Nov 2012 17:22:55 +0000 (14 19:22 +0200)
treeba995bc8fb85608f4933d3f74f77f91fd3ae7eac
parent8589d312d3a5c4426e57b38b0d87faf3e036326a
MS-Windows followup for revision 110889, regarding faccessat.

 nt/inc/unistd.h (faccessat): Add prototype.
 (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
 2 moved from ms-w32.h.
 nt/inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.

 src/w32.c (faccessat): Rename from sys_faccessat.  (No need to use a
 different name, as the MS runtime does not have such a function,
 and probably never will.)  All callers changed.  Ignore DIRFD
 value if PATH is an absolute file name, to match Posix spec
 better.  If AT_SYMLINK_NOFOLLOW is set in FLAGS, don't resolve
 symlinks.
nt/ChangeLog
nt/inc/ms-w32.h
nt/inc/unistd.h
src/ChangeLog
src/w32.c