aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@83718e91-0e4f-0410-abf4-91180603181f>2007-09-14 16:08:13 +0000
committertradke <tradke@83718e91-0e4f-0410-abf4-91180603181f>2007-09-14 16:08:13 +0000
commit56dfa6efd57f5d8787cfe779c7190c741eb29e94 (patch)
tree43f9882c02681debb240e61de09837e478cece8c
parentf0ee71ebd58266c5c1a5293e4d5e1ee2446511f5 (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.cc4
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