summaryrefslogtreecommitdiff
path: root/fml/lib
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-04-15 01:52:18 +0000
committerfukachan <fukachan>2003-04-15 01:52:18 +0000
commit30a875cfa65f522a7d8012592bf51df9eef948ea (patch)
tree6fe6d5896f1e9817f05fc343a967cfdeacc0f45c /fml/lib
parenta53987a5c36646e37dfef55d5f0ee619c8828773 (diff)
downloadfml8-30a875cfa65f522a7d8012592bf51df9eef948ea.tar.gz
fml8-30a875cfa65f522a7d8012592bf51df9eef948ea.tar.bz2
fml8-30a875cfa65f522a7d8012592bf51df9eef948ea.zip
reset alarm after flock()
Diffstat (limited to 'fml/lib')
-rw-r--r--fml/lib/Mail/Delivery/Queue.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/fml/lib/Mail/Delivery/Queue.pm b/fml/lib/Mail/Delivery/Queue.pm
index 1dc13e9e..ee03bb8e 100644
--- a/fml/lib/Mail/Delivery/Queue.pm
+++ b/fml/lib/Mail/Delivery/Queue.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Queue.pm,v 1.23 2003/02/11 12:03:19 fukachan Exp $
+# $FML: Queue.pm,v 1.24 2003/03/17 08:58:51 fukachan Exp $
#
package Mail::Delivery::Queue;
@@ -315,6 +315,7 @@ sub lock
flock($fh, &LOCK_EX);
$self->{ _lock }->{ _fh } = $fh;
};
+ alarm(0);
($@ =~ /lock timeout/) ? 0 : 1;
}