apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r553652 - /apr/apr/trunk/configure.in
Date Thu, 05 Jul 2007 21:59:19 GMT
Author: davi
Date: Thu Jul  5 14:59:18 2007
New Revision: 553652

URL: http://svn.apache.org/viewvc?view=rev&rev=553652
Log:
open(2) reads: mode must be specified when O_CREAT is in the flags.

Submitted by: Rainer Jung <rainer.jung kippdata.de>
PR: 42821

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?view=diff&rev=553652&r1=553651&r2=553652
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Thu Jul  5 14:59:18 2007
@@ -507,7 +507,7 @@
 
     if (sizeof(off64_t) != 8 || sizeof(off_t) != 4)
        exit(1);
-    if ((fd = open("conftest.lfs", O_LARGEFILE|O_CREAT|O_WRONLY)) < 0)
+    if ((fd = open("conftest.lfs", O_LARGEFILE|O_CREAT|O_WRONLY, 0644)) < 0)
        exit(2);
     if (ftruncate64(fd, off) != 0)
        ret = 3;



Mime
View raw message