diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ee18650e992..5a1b4a5d8ee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,32 +1,3 @@ | |||
| 1 | 2012-10-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Use faccessat, not access, when checking file permissions (Bug#12632). | ||
| 4 | * Makefile.in (LIB_EACCESS): New macro. | ||
| 5 | (LIBES): Use it. | ||
| 6 | * callproc.c (init_callproc): | ||
| 7 | * charset.c (init_charset): | ||
| 8 | * fileio.c (check_existing, check_executable): | ||
| 9 | * lread.c (openp, load_path_check): | ||
| 10 | * process.c (allocate_pty): | ||
| 11 | * xrdb.c (file_p): | ||
| 12 | Use faccessat, not access or euidaccess. Use symbolic names | ||
| 13 | instead of integers for the flags, as they're portable now. | ||
| 14 | * charset.c, xrdb.c: Include <fcntl.h>, for the new flags used. | ||
| 15 | * fileio.c (Ffile_readable_p): | ||
| 16 | Use faccessat, not stat + open + close. | ||
| 17 | (file_directory_p): New function, which uses 'stat' on most places | ||
| 18 | but 'access' (for efficiency) if WINDOWSNT. | ||
| 19 | * fileio.c (Ffile_directory_p, Fset_file_times): | ||
| 20 | * xrdb.c (file_p): Use file_directory_p. | ||
| 21 | * lisp.h (file_directory_p): New decl. | ||
| 22 | * lread.c (openp): When opening a file, use fstat rather than | ||
| 23 | stat, as that avoids a permissions race. When not opening a file, | ||
| 24 | use file_directory_p rather than stat. | ||
| 25 | * process.c, sysdep.c, term.c: All uses of '#ifdef O_NONBLOCK' | ||
| 26 | changed to '#if O_NONBLOCK', to accommodate gnulib O_* style. | ||
| 27 | * w32.c (sys_faccessat): Rename from sys_access and switch to | ||
| 28 | faccessat's API. All uses changed. | ||
| 29 | |||
| 30 | 2012-10-19 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) | 1 | 2012-10-19 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) |
| 31 | 2 | ||
| 32 | * font.c (Ffont_at): Fix previous change. | 3 | * font.c (Ffont_at): Fix previous change. |