From: Craig A. Berry Date: Mon, 27 Aug 2007 02:46:41 +0000 (+0000) Subject: Fix configure.com's d_fcntl_can_lock test to look for a file X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b36ee8399419493970b295dd8460c19a625ac89;p=p5sagit%2Fp5-mst-13.2.git Fix configure.com's d_fcntl_can_lock test to look for a file that actually exists. p4raw-id: //depot/perl@31756 --- diff --git a/configure.com b/configure.com index 93e28c8..87aa0b4 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;"