aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/Makefile.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 7f05283..564245e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-19 Andrew Cagney <ac131313@redhat.com>
+
+ Fix POSIX problem reported by Paul Eggert.
+ * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'.
+ Fix PR gdb/527.
+
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index ba0031a..80f39b3 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -218,7 +218,7 @@ refcard.ps : refcard.dvi
# File to record current GDB version number (copied from main dir version.in)
GDBvn.texi : ${gdbdir}/version.in
- echo "@set GDBVN `head -1 $(srcdir)/../version.in`" > ./GDBvn.new
+ echo "@set GDBVN `sed q $(srcdir)/../version.in`" > ./GDBvn.new
mv GDBvn.new GDBvn.texi
# Updated atomically