Commit 04df4d2f authored by Jim Meyering's avatar Jim Meyering
Browse files

announce-gen: detect write failure

* build-aux/announce-gen: Add Coda.
parent 9635af4d
2009-08-22 Jim Meyering <meyering@redhat.com>
announce-gen: detect write failure
* build-aux/announce-gen: Add Coda.
2009-08-19 Akim Demaille <demaille@gostai.com>
 
bootstrap: --help to stdout.
#!/usr/bin/perl -w
# Generate a release announcement message.
my $VERSION = '2009-03-05 09:52'; # UTC
my $VERSION = '2009-08-21 21:46'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
......@@ -500,6 +500,14 @@ EOF
exit 0;
}
# use File::Coda; # http://meyering.net/code/Coda/
END {
defined fileno STDOUT or return;
close STDOUT and return;
warn "$ME: failed to close standard output: $!\n";
$? ||= 1;
}
### Setup "GNU" style for perl-mode and cperl-mode.
## Local Variables:
## perl-indent-level: 2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment