summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--config.bat2
-rw-r--r--msdos/ChangeLog10
-rw-r--r--msdos/sed1v2.inp6
-rw-r--r--msdos/sedlibmk.inp2
-rw-r--r--src/ChangeLog15
-rw-r--r--src/callproc.c2
7 files changed, 32 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index af7d83a78d7..e92da7e839b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-20 Eli Zaretskii <eliz@gnu.org>
+
+ * config.bat: Concatenate lisp.mk onto the end of src/Makefile.
+
2011-05-20 Glenn Morris <rgm@gnu.org>
* 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
rem Create "makefile" from "makefile.in".
rm -f Makefile makefile.tmp
-copy Makefile.in+deps.mk makefile.tmp
+copy Makefile.in+lisp.mk+deps.mk makefile.tmp
sed -f ../msdos/sed1v2.inp <makefile.tmp >Makefile
rm -f makefile.tmp
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index 6c07c76d1bf..17b3c92d454 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,3 +1,13 @@
+2011-05-20 Eli Zaretskii <eliz@gnu.org>
+
+ * 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.
+
+ * sedlibmk.inp (GNULIB_GROUP_MEMBER, HAVE_GROUP_MEMBER): Edit to
+ zero.
+
2011-05-19 Glenn Morris <rgm@gnu.org>
* 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/
/^M_FILE *=/s!@M_FILE@!$(srcdir)/m/intel386.h!
/^S_FILE *=/s!@S_FILE@!$(srcdir)/s/msdos.h!
/^@SET_MAKE@$/s/@SET_MAKE@//
-/^.\$(libsrc)\/make-docfile.*>.*\/DOC/s!make-docfile!make-docfile -o ../etc/DOC!
-/^.\$(libsrc)\/make-docfile.*>.*gl-tmp/s!make-docfile!make-docfile -o gl-tmp!
+/^ [ ]*\$(libsrc)\/make-docfile.*>.*\/DOC/s!make-docfile!make-docfile -o $(etc)/DOC!
+/^ [ ]*\$(libsrc)\/make-docfile.*>.*gl-tmp/s!make-docfile!make-docfile -o gl-tmp!
/^.\$(libsrc)\/make-doc/s!>.*$!!
+/^ [ ]*\$(libsrc)\/make-docfile /s!`[^`]*`!$(lisp)!
/^[ ]*$/d
/^ if test -f/,/^ fi$/c\
command.com /c if exist .gdbinit rm -f _gdbinit
@@ -161,6 +162,7 @@ s/^ [^ ]*move-if-change / update /
/^ -\{0,1\} *ln -/s/ln -f/cp -pf/
/^[ ]touch /s/touch/djecho $@ >/
s/@YMF_PASS_LDFLAGS@/flags/
+s/@lisp_frag@//
s/@deps_frag@//
s/@ns_frag@//
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
/^GNULIB_GETSUBOPT *=/s/@GNULIB_GETSUBOPT@/0/
/^GNULIB_GETUSERSHELL *=/s/@GNULIB_GETUSERSHELL@/0/
/^GNULIB_GRANTPT *=/s/@GNULIB_GRANTPT@/0/
+/^GNULIB_GROUP_MEMBER *=/s/@GNULIB_GROUP_MEMBER@/0/
/^GNULIB_LCHMOD *=/s/@GNULIB_LCHMOD@/0/
/^GNULIB_LCHOWN *=/s/@GNULIB_LCHOWN@/0/
/^GNULIB_LINK *=/s/@GNULIB_LINK@/0/
@@ -328,6 +329,7 @@ am__cd = cd
/^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/
/^HAVE_GETSUBOPT *=/s/@HAVE_GETSUBOPT@/0/
/^HAVE_GRANTPT *=/s/@HAVE_GRANTPT@/0/
+/^HAVE_GROUP_MEMBER *=/s/@HAVE_GROUP_MEMBER@/0/
/^HAVE_LCHOWN *=/s/@HAVE_LCHOWN@/0/
/^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/
/^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 @@
+2011-05-20 Eli Zaretskii <eliz@gnu.org>
+
+ * callproc.c (Fcall_process) [MSDOS]: Fix arguments to
+ report_file_error introduced by the change from 2011-05-07.
+
2011-05-20 Paul Eggert <eggert@cs.ucla.edu>
* systime.h (Time): Define only if emacs is defined.
@@ -176,11 +181,11 @@
(Fget_screen_color): New function.
(syms_of_ntterm): Defsubr it.
- * callproc.c (call_process_cleanup): Don't close and unlink the
- temporary file if Fcall_process didn't create it in the first
- place.
- (Fcall_process): Don't create tempfile if stdout of the child
- process will be redirected to a file specified with `:file'.
+ * callproc.c (call_process_cleanup) [MSDOS]: Don't close and
+ unlink the temporary file if Fcall_process didn't create it in the
+ first place.
+ (Fcall_process) [MSDOS]: Don't create tempfile if stdout of the
+ child process will be redirected to a file specified with `:file'.
Don't try to re-open tempfile in that case, and set fd[0] to -1 as
cue to call_process_cleanup not to close that handle.
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) */)
unlink (tempfile);
emacs_close (filefd);
report_file_error ("Cannot re-open temporary file",
- Fcons (tempfile, Qnil));
+ Fcons (build_string (tempfile), Qnil));
}
}
else