diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | config.bat | 2 | ||||
| -rw-r--r-- | msdos/ChangeLog | 10 | ||||
| -rw-r--r-- | msdos/sed1v2.inp | 6 | ||||
| -rw-r--r-- | msdos/sedlibmk.inp | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 15 | ||||
| -rw-r--r-- | src/callproc.c | 2 |
7 files changed, 32 insertions, 9 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-05-20 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * config.bat: Concatenate lisp.mk onto the end of src/Makefile. | ||
| 4 | |||
| 1 | 2011-05-20 Glenn Morris <rgm@gnu.org> | 5 | 2011-05-20 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * configure.in (lisp_frag): New output file. | 7 | * configure.in (lisp_frag): New output file. |
diff --git a/config.bat b/config.bat index e480a4b9bc8..dba3600e0d9 100644 --- a/config.bat +++ b/config.bat | |||
| @@ -211,7 +211,7 @@ if exist dir.h ren dir.h vmsdir.h | |||
| 211 | 211 | ||
| 212 | rem Create "makefile" from "makefile.in". | 212 | rem Create "makefile" from "makefile.in". |
| 213 | rm -f Makefile makefile.tmp | 213 | rm -f Makefile makefile.tmp |
| 214 | copy Makefile.in+deps.mk makefile.tmp | 214 | copy Makefile.in+lisp.mk+deps.mk makefile.tmp |
| 215 | sed -f ../msdos/sed1v2.inp <makefile.tmp >Makefile | 215 | sed -f ../msdos/sed1v2.inp <makefile.tmp >Makefile |
| 216 | rm -f makefile.tmp | 216 | rm -f makefile.tmp |
| 217 | 217 | ||
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 6c07c76d1bf..17b3c92d454 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2011-05-20 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * sed1v2.inp (make-docfile commands): Recognize only if the line | ||
| 4 | begins with a TAB. Use $(etc) rather than a literal "../etc". | ||
| 5 | (`sed SED-COMMAND $(srcdir)/lisp.mk`): Edit to replace with "$(lisp). | ||
| 6 | (@lisp_frag@): Edit out. | ||
| 7 | |||
| 8 | * sedlibmk.inp (GNULIB_GROUP_MEMBER, HAVE_GROUP_MEMBER): Edit to | ||
| 9 | zero. | ||
| 10 | |||
| 1 | 2011-05-19 Glenn Morris <rgm@gnu.org> | 11 | 2011-05-19 Glenn Morris <rgm@gnu.org> |
| 2 | 12 | ||
| 3 | * sed1x.inp (TOOLTIP_SUPPORT, WINDOW_SUPPORT): | 13 | * sed1x.inp (TOOLTIP_SUPPORT, WINDOW_SUPPORT): |
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp index 34c4588f96a..da3c1386760 100644 --- a/msdos/sed1v2.inp +++ b/msdos/sed1v2.inp | |||
| @@ -127,9 +127,10 @@ s/\.h\.in/.h-in/ | |||
| 127 | /^M_FILE *=/s!@M_FILE@!$(srcdir)/m/intel386.h! | 127 | /^M_FILE *=/s!@M_FILE@!$(srcdir)/m/intel386.h! |
| 128 | /^S_FILE *=/s!@S_FILE@!$(srcdir)/s/msdos.h! | 128 | /^S_FILE *=/s!@S_FILE@!$(srcdir)/s/msdos.h! |
| 129 | /^@SET_MAKE@$/s/@SET_MAKE@// | 129 | /^@SET_MAKE@$/s/@SET_MAKE@// |
| 130 | /^.\$(libsrc)\/make-docfile.*>.*\/DOC/s!make-docfile!make-docfile -o ../etc/DOC! | 130 | /^ [ ]*\$(libsrc)\/make-docfile.*>.*\/DOC/s!make-docfile!make-docfile -o $(etc)/DOC! |
| 131 | /^.\$(libsrc)\/make-docfile.*>.*gl-tmp/s!make-docfile!make-docfile -o gl-tmp! | 131 | /^ [ ]*\$(libsrc)\/make-docfile.*>.*gl-tmp/s!make-docfile!make-docfile -o gl-tmp! |
| 132 | /^.\$(libsrc)\/make-doc/s!>.*$!! | 132 | /^.\$(libsrc)\/make-doc/s!>.*$!! |
| 133 | /^ [ ]*\$(libsrc)\/make-docfile /s!`[^`]*`!$(lisp)! | ||
| 133 | /^[ ]*$/d | 134 | /^[ ]*$/d |
| 134 | /^ if test -f/,/^ fi$/c\ | 135 | /^ if test -f/,/^ fi$/c\ |
| 135 | command.com /c if exist .gdbinit rm -f _gdbinit | 136 | command.com /c if exist .gdbinit rm -f _gdbinit |
| @@ -161,6 +162,7 @@ s/^ [^ ]*move-if-change / update / | |||
| 161 | /^ -\{0,1\} *ln -/s/ln -f/cp -pf/ | 162 | /^ -\{0,1\} *ln -/s/ln -f/cp -pf/ |
| 162 | /^[ ]touch /s/touch/djecho $@ >/ | 163 | /^[ ]touch /s/touch/djecho $@ >/ |
| 163 | s/@YMF_PASS_LDFLAGS@/flags/ | 164 | s/@YMF_PASS_LDFLAGS@/flags/ |
| 165 | s/@lisp_frag@// | ||
| 164 | s/@deps_frag@// | 166 | s/@deps_frag@// |
| 165 | s/@ns_frag@// | 167 | s/@ns_frag@// |
| 166 | s/@PRE_EDIT_LDFLAGS@// | 168 | s/@PRE_EDIT_LDFLAGS@// |
diff --git a/msdos/sedlibmk.inp b/msdos/sedlibmk.inp index 0c501421821..7bc773cf931 100644 --- a/msdos/sedlibmk.inp +++ b/msdos/sedlibmk.inp | |||
| @@ -197,6 +197,7 @@ am__cd = cd | |||
| 197 | /^GNULIB_GETSUBOPT *=/s/@GNULIB_GETSUBOPT@/0/ | 197 | /^GNULIB_GETSUBOPT *=/s/@GNULIB_GETSUBOPT@/0/ |
| 198 | /^GNULIB_GETUSERSHELL *=/s/@GNULIB_GETUSERSHELL@/0/ | 198 | /^GNULIB_GETUSERSHELL *=/s/@GNULIB_GETUSERSHELL@/0/ |
| 199 | /^GNULIB_GRANTPT *=/s/@GNULIB_GRANTPT@/0/ | 199 | /^GNULIB_GRANTPT *=/s/@GNULIB_GRANTPT@/0/ |
| 200 | /^GNULIB_GROUP_MEMBER *=/s/@GNULIB_GROUP_MEMBER@/0/ | ||
| 200 | /^GNULIB_LCHMOD *=/s/@GNULIB_LCHMOD@/0/ | 201 | /^GNULIB_LCHMOD *=/s/@GNULIB_LCHMOD@/0/ |
| 201 | /^GNULIB_LCHOWN *=/s/@GNULIB_LCHOWN@/0/ | 202 | /^GNULIB_LCHOWN *=/s/@GNULIB_LCHOWN@/0/ |
| 202 | /^GNULIB_LINK *=/s/@GNULIB_LINK@/0/ | 203 | /^GNULIB_LINK *=/s/@GNULIB_LINK@/0/ |
| @@ -328,6 +329,7 @@ am__cd = cd | |||
| 328 | /^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/ | 329 | /^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/ |
| 329 | /^HAVE_GETSUBOPT *=/s/@HAVE_GETSUBOPT@/0/ | 330 | /^HAVE_GETSUBOPT *=/s/@HAVE_GETSUBOPT@/0/ |
| 330 | /^HAVE_GRANTPT *=/s/@HAVE_GRANTPT@/0/ | 331 | /^HAVE_GRANTPT *=/s/@HAVE_GRANTPT@/0/ |
| 332 | /^HAVE_GROUP_MEMBER *=/s/@HAVE_GROUP_MEMBER@/0/ | ||
| 331 | /^HAVE_LCHOWN *=/s/@HAVE_LCHOWN@/0/ | 333 | /^HAVE_LCHOWN *=/s/@HAVE_LCHOWN@/0/ |
| 332 | /^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/ | 334 | /^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/ |
| 333 | /^HAVE_LCHMOD *=/s/@HAVE_LCHMOD@/0/ | 335 | /^HAVE_LCHMOD *=/s/@HAVE_LCHMOD@/0/ |
diff --git a/src/ChangeLog b/src/ChangeLog index eed82fc865b..bef6c1593a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-05-20 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2011-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 |