From: Akim Demaille Date: Tue, 26 Aug 2003 07:13:52 +0000 (+0000) Subject: * config/announce-gen (print_changelog_deltas): Neutralize "<#" as X-Git-Tag: BISON-2_0~209 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/89e1cc61b7e8cf77ac6e39a080929c19473db96a * config/announce-gen (print_changelog_deltas): Neutralize "<#" as "<#" to avoid magic from Gnus when posting parts of this script. --- diff --git a/ChangeLog b/ChangeLog index 14409cc7..a7b160a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-26 Akim Demaille + + * config/announce-gen (print_changelog_deltas): Neutralize "<#" as + "<\#" to avoid magic from Gnus when posting parts of this script. + 2003-08-26 Akim Demaille * data/lalr1.cc (Parser::report_syntax_error_): New, extracted from diff --git a/config/announce-gen b/config/announce-gen index 7b8095ae..01e4047f 100755 --- a/config/announce-gen +++ b/config/announce-gen @@ -226,11 +226,13 @@ sub print_changelog_deltas ($$) $fail and exit 1; + # The markup is escaped as <\# so that when this script is sent by + # mail (or part of a diff), Gnus is not triggered. print < +<\#secure method=pgpmime mode=sign> FIXME: put comments here @@ -263,8 +265,10 @@ EOF print "\nHere are the MD5 and SHA1 signatures:\n"; print "\n"; - print "<#part type=text/plain filename=\"$tmp\" disposition=inline>\n" - . "<#/part>\n"; + # The markup is escaped as <\# so that when this script is sent by + # mail (or part of a diff), Gnus is not triggered. + print "<\#part type=text/plain filename=\"$tmp\" disposition=inline>\n" + . "<\#/part>\n"; open OUT, '>', $tmp or die "$ME: $tmp: cannot open for writing: $!\n";