You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/07/05 23:59:19 UTC
svn commit: r553652 - /apr/apr/trunk/configure.in
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;