summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-04 16:36:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-04 16:36:31 +0000
commit4b9d132ac566a3b7566ae7389a5647ff8aa02120 (patch)
tree03f8f0a2fdea39fc2de72c601231afaebcddcb58 /Configure
parentf1b78bdb81ccbac5f019f4be6a150db83da689ca (diff)
downloadperl-4b9d132ac566a3b7566ae7389a5647ff8aa02120.tar.gz
Somehow the #ifdefs of the added code (in #11093) made
HP-UX to fail the fcntl locking test, without the ifdefs the test seems to be working again. Reason unknown: HP-UX cc doesn't complain either way. p4raw-id: //depot/perl@11146
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 1 insertions, 7 deletions
diff --git a/Configure b/Configure
index c7e07ef53c..87547b0dae 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Jul 3 03:03:36 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Wed Jul 4 20:30:41 EET DST 2001 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -9865,11 +9865,7 @@ $cat >try.c <<EOCP
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
-#ifdef SIGALRM
$signal_t blech(x) int x; { exit(3); }
-#endif
-EOCP
-$cat >try.c <<'EOCP'
int main() {
#if defined(F_SETLK) && defined(F_SETLKW)
struct flock flock;
@@ -9878,10 +9874,8 @@ int main() {
flock.l_type = F_RDLCK;
flock.l_whence = SEEK_SET;
flock.l_start = flock.l_len = 0;
-#ifdef SIGALRM
signal(SIGALRM, blech);
alarm(10);
-#endif
retval = fcntl(fd, F_SETLK, &flock);
close(fd);
(retval < 0 ? exit(2) : exit(0));