diff options
author | Craig A. Berry <craigberry@mac.com> | 2007-08-27 02:46:41 +0000 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2007-08-27 02:46:41 +0000 |
commit | 5b36ee8399419493970b295dd8460c19a625ac89 (patch) | |
tree | 5b31237d573782351e1928a5ce5b883353117b3e /configure.com | |
parent | fc02eb946e1e7a9b4e4e2e9ab16b4202d5094d30 (diff) | |
download | perl-5b36ee8399419493970b295dd8460c19a625ac89.tar.gz |
Fix configure.com's d_fcntl_can_lock test to look for a file
that actually exists.
p4raw-id: //depot/perl@31756
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.com b/configure.com index 93e28c8035..87aa0b4280 100644 --- a/configure.com +++ b/configure.com @@ -4001,7 +4001,7 @@ $ WS "int main() {" $ WS "#if defined(F_SETLK) && defined(F_SETLKW)" $ WS " struct flock flock;" $ WS " int retval, fd;" -$ WS " fd = open(""try.c"", O_RDONLY);" +$ WS " fd = open(""[-]perl.c"", O_RDONLY);" $ WS " flock.l_type = F_RDLCK;" $ WS " flock.l_whence = SEEK_SET;" $ WS " flock.l_start = flock.l_len = 0;" |