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".
This commit is contained in:
Andrew Cagney 2002-02-23 20:36:49 +00:00
parent bbaca940eb
commit 696f451b7e
3 changed files with 12 additions and 2 deletions

View file

@ -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.

View file

@ -1,3 +1,13 @@
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.

View file

@ -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