diff options
| author | Eli Zaretskii | 2012-11-14 19:22:55 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-14 19:22:55 +0200 |
| commit | 14f207289c224b3ad12fc8704c2183ef8fbcab28 (patch) | |
| tree | 762793d11e03d384ff44353bdfde59c302cda66d /nt/ChangeLog | |
| parent | c62792e7dfa403db8c36cb92f32fb69258a199ef (diff) | |
| download | emacs-14f207289c224b3ad12fc8704c2183ef8fbcab28.tar.gz emacs-14f207289c224b3ad12fc8704c2183ef8fbcab28.zip | |
MS-Windows followup for 2012-11-14T04:55:41Z!eggert@cs.ucla.edu, 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.
Fixes: debbugs:12632
Diffstat (limited to 'nt/ChangeLog')
| -rw-r--r-- | nt/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 320c9e6366e..685e291e272 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2012-11-14 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * inc/unistd.h (faccessat): Add prototype. | ||
| 4 | (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first | ||
| 5 | 2 moved from ms-w32.h. | ||
| 6 | |||
| 7 | * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros. | ||
| 8 | |||
| 1 | 2012-11-14 Paul Eggert <eggert@cs.ucla.edu> | 9 | 2012-11-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 10 | ||
| 3 | Use faccessat, not access, when checking file permissions (Bug#12632). | 11 | Use faccessat, not access, when checking file permissions (Bug#12632). |