aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-23 20:36:49 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-23 20:36:49 +0000
commit696f451b7e9b2e5cbb5c12c76a51475ef04b2845 (patch)
treedf22b4ef007548fa7d2ea54acf9eee50238c8c0b /gdb
parentbbaca940ebb8624260af6a0569b57cf4d32cf8c9 (diff)
downloadgdb-696f451b7e9b2e5cbb5c12c76a51475ef04b2845.zip
gdb-696f451b7e9b2e5cbb5c12c76a51475ef04b2845.tar.gz
gdb-696f451b7e9b2e5cbb5c12c76a51475ef04b2845.tar.bz2
From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX 1003.1-2001 no longer allows "head -1". * gdb/Makefile.in (version.c): Likewise. * gdb/doc/Makefile.in (GDBvn.texi): Likewise. * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/CONTRIBUTE2
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/Makefile.in2
3 files changed, 12 insertions, 2 deletions
diff --git a/gdb/CONTRIBUTE b/gdb/CONTRIBUTE
index 04d1568..96c943c 100644
--- a/gdb/CONTRIBUTE
+++ b/gdb/CONTRIBUTE
@@ -70,7 +70,7 @@ o Submitting Patches
documentation (i.e., .texi files).
The patch itself. If you are accessing the CVS repository use
- "cvs update; cvs diff -c3p"; else, use "diff -c3p OLD NEW" or
+ "cvs update; cvs diff -cp"; else, use "diff -cp OLD NEW" or
"diff -up OLD NEW". If your version of diff does not support
these options, then get the latest version of GNU diff.
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 31b2d17..6f218bc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,15 @@
2002-02-23 Andrew Cagney <ac131313@redhat.com>
+ From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
+ * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
+ 1003.1-2001 no longer allows "head -1".
+ * gdb/Makefile.in (version.c): Likewise.
+ * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
+ * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
+ equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
+
+2002-02-23 Andrew Cagney <ac131313@redhat.com>
+
* cli/cli-decode.c (cmd_cfunc_eq): New function.
* command.h (cmd_cfunc_eq): Declare.
* cli/cli-decode.h (cmd_cfunc_eq): Ditto.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 87a7fdd..2e3d6f3 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1043,7 +1043,7 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \
version.c: Makefile version.in
rm -f version.c-tmp version.c
echo '#include "version.h"' >> version.c-tmp
- echo 'const char version[] = "'"`head -1 ${srcdir}/version.in`"'";' >> version.c-tmp
+ echo 'const char version[] = "'"`sed q ${srcdir}/version.in`"'";' >> version.c-tmp
echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp
echo 'const char target_name[] = "$(target_alias)";' >> version.c-tmp
mv version.c-tmp version.c