diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dfc74d7bb39..6e3a82c7c13 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,28 @@ | |||
| 1 | 2013-07-12 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-07-12 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Clean up errno reporting and fix some errno-reporting bugs. | ||
| 4 | * callproc.c (Fcall_process): | ||
| 5 | * fileio.c (Fcopy_file, Finsert_file_contents, Fwrite_region): | ||
| 6 | * process.c (create_process, Fmake_network_process): | ||
| 7 | * unexaix.c (report_error): | ||
| 8 | * unexcoff.c (report_error): | ||
| 9 | Be more careful about reporting the errno of failed operations. | ||
| 10 | The code previously reported the wrong errno sometimes. | ||
| 11 | Also, prefer report_file_errno to setting errno + report_file_error. | ||
| 12 | (Fcall_process): Look at openp return value rather than at path, | ||
| 13 | as that's a bit faster and clearer when there's a numeric predicate. | ||
| 14 | * fileio.c (report_file_errno): New function, with most of the | ||
| 15 | old contents of report_file_error. | ||
| 16 | (report_file_error): Use it. | ||
| 17 | (Ffile_exists_p, Ffile_accessible_directory_p): | ||
| 18 | Set errno to 0 when it is junk. | ||
| 19 | * fileio.c (Faccess_file): | ||
| 20 | * image.c (x_create_bitmap_from_file): | ||
| 21 | Use faccessat rather than opening the file, to avoid the hassle of | ||
| 22 | having a file descriptor open. | ||
| 23 | * lisp.h (report_file_errno): New decl. | ||
| 24 | * lread.c (Flocate_file_internal): File descriptor 0 is valid, too. | ||
| 25 | |||
| 3 | Minor EBADF fixes. | 26 | Minor EBADF fixes. |
| 4 | * process.c (create_process, wait_reading_process_output) [AIX]: | 27 | * process.c (create_process, wait_reading_process_output) [AIX]: |
| 5 | Remove obsolete SIGHUP-related code, as Emacs no longer disables | 28 | Remove obsolete SIGHUP-related code, as Emacs no longer disables |