Fix configure.com's d_fcntl_can_lock test to look for a file
authorCraig A. Berry <craigberry@mac.com>
Mon, 27 Aug 2007 02:46:41 +0000 (02:46 +0000)
committerCraig A. Berry <craigberry@mac.com>
Mon, 27 Aug 2007 02:46:41 +0000 (02:46 +0000)
that actually exists.

p4raw-id: //depot/perl@31756

configure.com

index 93e28c8..87aa0b4 100644 (file)
@@ -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;"