From: Andreas Schwab <schwab@suse.de>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: GPLv3: copying.awk needs to be adjusted
Date: Sun, 19 Aug 2007 08:07:00 -0000 [thread overview]
Message-ID: <jetzqw9ccz.fsf@sykes.suse.de> (raw)
In-Reply-To: <20070819045854.GA4437@adacore.com> (Joel Brobecker's message of "Sun\, 19 Aug 2007 00\:58\:54 -0400")
Joel Brobecker <brobecker@adacore.com> writes:
>> I have just replaced "NO WARRANTY" by "15\. Disclaimer of Warranty\."
>> everywhere in the script, and the result looks perfect.
>
> Mama mia, no comprendo - I tried exactly the same thing, and somehow
> it didn't work. Would you mind posting a patch for us?
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.928
diff -u -a -p -r1.928 Makefile.in
--- Makefile.in 10 Aug 2007 17:52:09 -0000 1.928
+++ Makefile.in 19 Aug 2007 08:04:02 -0000
@@ -1386,9 +1386,9 @@ doc/gdb.info:
# Make copying.c from COPYING
$(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \
- $(srcdir)/COPYING $(srcdir)/copying.awk
+ $(srcdir)/COPYING3 $(srcdir)/copying.awk
awk -f $(srcdir)/copying.awk \
- < $(srcdir)/COPYING > $(srcdir)/copying.tmp
+ < $(srcdir)/COPYING3 > $(srcdir)/copying.tmp
mv $(srcdir)/copying.tmp $(srcdir)/copying.c
version.c: Makefile version.in
Index: copying.awk
===================================================================
RCS file: /cvs/src/src/gdb/copying.awk,v
retrieving revision 1.2
diff -u -a -p -r1.2 copying.awk
--- copying.awk 27 Jun 2000 06:45:43 -0000 1.2
+++ copying.awk 19 Aug 2007 08:04:02 -0000
@@ -21,12 +21,12 @@ BEGIN {
print "{";
print " immediate_quit++;";
}
-NR == 1,/^[ ]*NO WARRANTY[ ]*$/ {
+NR == 1,/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/ {
if ($0 ~ /\f/)
{
printf " printf_filtered (\"\\n\");\n";
}
- else if ($0 !~ /^[ ]*NO WARRANTY[ ]*$/)
+ else if ($0 !~ /^[ ]*15\. Disclaimer of Warranty\.[ ]*$/)
{
printf " printf_filtered (\"";
for (i = 1; i < NF; i++)
@@ -34,7 +34,7 @@ NR == 1,/^[ ]*NO WARRANTY[ ]*$/ {
printf "%s\\n\");\n", $NF;
}
}
-/^[ ]*NO WARRANTY[ ]*$/ {
+/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/ {
print " immediate_quit--;";
print "}";
print "";
@@ -45,7 +45,7 @@ NR == 1,/^[ ]*NO WARRANTY[ ]*$/ {
print "{";
print " immediate_quit++;";
}
-/^[ ]*NO WARRANTY[ ]*$/, /^[ ]*END OF TERMS AND CONDITIONS[ ]*$/{
+/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/, /^[ ]*END OF TERMS AND CONDITIONS[ ]*$/{
if (! ($0 ~ /^[ ]*END OF TERMS AND CONDITIONS[ ]*$/))
{
printf " printf_filtered (\"";
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2007-08-19 8:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-18 2:44 Joel Brobecker
2007-08-18 9:27 ` Andreas Schwab
2007-08-19 4:55 ` Joel Brobecker
2007-08-19 8:07 ` Andreas Schwab [this message]
2007-08-21 13:44 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jetzqw9ccz.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox