diff options
author | tradke <tradke@83718e91-0e4f-0410-abf4-91180603181f> | 2007-09-14 16:08:13 +0000 |
---|---|---|
committer | tradke <tradke@83718e91-0e4f-0410-abf4-91180603181f> | 2007-09-14 16:08:13 +0000 |
commit | 56dfa6efd57f5d8787cfe779c7190c741eb29e94 (patch) | |
tree | 43f9882c02681debb240e61de09837e478cece8c | |
parent | f0ee71ebd58266c5c1a5293e4d5e1ee2446511f5 (diff) |
use POSIX::_exit rather than POSIX::exit to really terminate the metadata
announcement script in case of a timeout
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@136 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r-- | src/senddata.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/senddata.cc b/src/senddata.cc index 1dfab75..3f31f4a 100644 --- a/src/senddata.cc +++ b/src/senddata.cc @@ -88,11 +88,11 @@ namespace Formaline // then look for 'Interrupting IO') // // Using { die 'timeout' } or { exit 1 } is not sufficient to exit -// reliably after a timeout. Using { POSIX::exit 1 } seems to work. +// reliably after a timeout. Using { POSIX::_exit 1 } seems to work. // The difference is that the POSIX function does not clean up, but // that should be fine. // -<< "POSIX::sigaction (SIGALRM, POSIX::SigAction->new (sub { POSIX::exit 1; }))" << endl +<< "POSIX::sigaction (SIGALRM, POSIX::SigAction->new (sub { POSIX::_exit 1; }))" << endl << " or die \"Error setting SIGALRM handler: $!\";" << endl << "alarm " << timeout << ";" << endl << "" << endl |