aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-07-05 19:40:50 -0700
committerPaul Eggert2013-07-05 19:40:50 -0700
commit406af475be236b874e3633b68999f6a099d47587 (patch)
tree4dfc0e61b3fce353adedc96f84091aca4ae23b57 /src/ChangeLog
parent0773c610689c7612b0d7b44e61701079b6f56419 (diff)
downloademacs-406af475be236b874e3633b68999f6a099d47587.tar.gz
emacs-406af475be236b874e3633b68999f6a099d47587.zip
Use emacs_open more consistently when opening files.
This handles EINTR more consistently now, and makes it easier to introduce other uniform changes to file descriptor handling. * src/systdio.h: New file. * src/buffer.c (mmap_init): * cygw32.c (chdir_to_default_directory): * dispnew.c (Fopen_termscript): * emacs.c (Fdaemon_initialized): * fileio.c (Fdo_auto_save): * image.c (slurp_file, png_load_body, jpeg_load_body): * keyboard.c (Fopen_dribble_file): * lread.c (Fload): * print.c (Fredirect_debugging_output): * sysdep.c (get_up_time, procfs_ttyname, procfs_get_total_memory): * termcap.c (tgetent): * unexaix.c, unexcoff.c (unexec, adjust_lnnoptrs): * unexcw.c, unexelf.c, unexhp9k800.c, unexmacosx.c (unexec): * w32term.c (w32_initialize) [CYGWIN]: * xfaces.c (Fx_load_color_file): Use emacs_open instead of plain open, and emacs_fopen instead of plain fopen. * dispnew.c, fileio.c, image.c, keyboard.c, lread.c, print.c, sysdep.c: * xfaces.c: Include sysstdio.h rather than stdio.h, for emacs_fopen. * callproc.c (default_output_mode): New constant. (Fcall_process): Use it to call emacs_open instead of plain creat. * dispnew.c (Fopen_termscript): Fix minor race in opening termscript. * sysdep.c (emacs_open): Add commentary and don't call file name "path". (emacs_fopen): New function. * unexaix.c, unexcoff.c, unexelf.c, unexhp9k800.c, unexmacosx.c: Include <lisp.h>, for emacs_open. * unexelf.c (fatal): Remove decl; not needed with <lisp.h> included.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d42f5733ce6..0465bdcaf2e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,37 @@
12013-07-05 Paul Eggert <eggert@cs.ucla.edu> 12013-07-05 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Use emacs_open more consistently when opening files.
4 This handles EINTR more consistently now, and makes it easier
5 to introduce other uniform changes to file descriptor handling.
6 * src/systdio.h: New file.
7 * src/buffer.c (mmap_init):
8 * cygw32.c (chdir_to_default_directory):
9 * dispnew.c (Fopen_termscript):
10 * emacs.c (Fdaemon_initialized):
11 * fileio.c (Fdo_auto_save):
12 * image.c (slurp_file, png_load_body, jpeg_load_body):
13 * keyboard.c (Fopen_dribble_file):
14 * lread.c (Fload):
15 * print.c (Fredirect_debugging_output):
16 * sysdep.c (get_up_time, procfs_ttyname, procfs_get_total_memory):
17 * termcap.c (tgetent):
18 * unexaix.c, unexcoff.c (unexec, adjust_lnnoptrs):
19 * unexcw.c, unexelf.c, unexhp9k800.c, unexmacosx.c (unexec):
20 * w32term.c (w32_initialize) [CYGWIN]:
21 * xfaces.c (Fx_load_color_file):
22 Use emacs_open instead of plain open, and emacs_fopen instead of
23 plain fopen.
24 * dispnew.c, fileio.c, image.c, keyboard.c, lread.c, print.c, sysdep.c:
25 * xfaces.c: Include sysstdio.h rather than stdio.h, for emacs_fopen.
26 * callproc.c (default_output_mode): New constant.
27 (Fcall_process): Use it to call emacs_open instead of plain creat.
28 * dispnew.c (Fopen_termscript): Fix minor race in opening termscript.
29 * sysdep.c (emacs_open): Add commentary and don't call file name "path".
30 (emacs_fopen): New function.
31 * unexaix.c, unexcoff.c, unexelf.c, unexhp9k800.c, unexmacosx.c:
32 Include <lisp.h>, for emacs_open.
33 * unexelf.c (fatal): Remove decl; not needed with <lisp.h> included.
34
3 Remove duplicate #include directives. 35 Remove duplicate #include directives.
4 * alloc.c [GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES]: 36 * alloc.c [GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES]:
5 * xfaces.c: 37 * xfaces.c: