aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2011-05-20 12:47:59 +0300
committerEli Zaretskii2011-05-20 12:47:59 +0300
commit7285dc67f4c4ffe079419ed3b189ede08175e244 (patch)
tree4c4a787634342bef6f04231ad24d01dd0ac4de1a /src
parent89d1bd225c6d3600ecf2d464a924cb0ef0af53e7 (diff)
downloademacs-7285dc67f4c4ffe079419ed3b189ede08175e244.tar.gz
emacs-7285dc67f4c4ffe079419ed3b189ede08175e244.zip
Fix the MSDOS build as follows from 2011-05-19T06:04:16Z!rgm@gnu.org, 2011-05-20T00:41:03Z!rgm@gnu.org.
config.bat: Concatenate lisp.mk onto the end of src/Makefile. msdos/sed1v2.inp (make-docfile commands): Recognize only if the line begins with a TAB. Use $(etc) rather than a literal "../etc". (`sed SED-COMMAND $(srcdir)/lisp.mk`): Edit to replace with "$(lisp). (@lisp_frag@): Edit out. msdos/sedlibmk.inp (GNULIB_GROUP_MEMBER, HAVE_GROUP_MEMBER): Edit to zero. src/callproc.c (Fcall_process) [MSDOS]: Fix arguments to report_file_error introduced by the change from 2011-05-07.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog15
-rw-r--r--src/callproc.c2
2 files changed, 11 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index eed82fc865b..bef6c1593a7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-05-20 Eli Zaretskii <eliz@gnu.org>
2
3 * callproc.c (Fcall_process) [MSDOS]: Fix arguments to
4 report_file_error introduced by the change from 2011-05-07.
5
12011-05-20 Paul Eggert <eggert@cs.ucla.edu> 62011-05-20 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * systime.h (Time): Define only if emacs is defined. 8 * systime.h (Time): Define only if emacs is defined.
@@ -176,11 +181,11 @@
176 (Fget_screen_color): New function. 181 (Fget_screen_color): New function.
177 (syms_of_ntterm): Defsubr it. 182 (syms_of_ntterm): Defsubr it.
178 183
179 * callproc.c (call_process_cleanup): Don't close and unlink the 184 * callproc.c (call_process_cleanup) [MSDOS]: Don't close and
180 temporary file if Fcall_process didn't create it in the first 185 unlink the temporary file if Fcall_process didn't create it in the
181 place. 186 first place.
182 (Fcall_process): Don't create tempfile if stdout of the child 187 (Fcall_process) [MSDOS]: Don't create tempfile if stdout of the
183 process will be redirected to a file specified with `:file'. 188 child process will be redirected to a file specified with `:file'.
184 Don't try to re-open tempfile in that case, and set fd[0] to -1 as 189 Don't try to re-open tempfile in that case, and set fd[0] to -1 as
185 cue to call_process_cleanup not to close that handle. 190 cue to call_process_cleanup not to close that handle.
186 191
diff --git a/src/callproc.c b/src/callproc.c
index a966a26b938..67d0b6aede3 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -577,7 +577,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
577 unlink (tempfile); 577 unlink (tempfile);
578 emacs_close (filefd); 578 emacs_close (filefd);
579 report_file_error ("Cannot re-open temporary file", 579 report_file_error ("Cannot re-open temporary file",
580 Fcons (tempfile, Qnil)); 580 Fcons (build_string (tempfile), Qnil));
581 } 581 }
582 } 582 }
583 else 583 else