with __USE_LARGEFILE64 on linux (RH8).
On Fri, May 12, 2006 at 04:47:33PM -0400, Scott Greig wrote:
I tried rebuilding apr(1.1.1) with LFS enabled. There
seemed to be a
problem with simply passing '--enable-lfs' to configure. The
configure script temporarily adds
, May 15, 2006 at 08:45:39AM -0400, Scott Greig wrote:
My bad, I've been using -D_LARGEFILE64_SOURCE just typed it
wrong in
the email.
I also need -D_FILE_OFFSET_BITS=64. Both flags are used to
build my
main application.
I tried running configure on a RH8 machine.
configure
I'm building an application that requires large file support enabled
(__USE_LARGEFILE64). I'm finding apr_dir_read does not populate
apr_finfo_t correctly and as a result the fname field contains garbage.
If I remove the __USE_LARGEFILE64 flag it work correctly.
I thought I'd check if anyone
Let me know if I'm missing something.
Thanks
- Scott
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Garrett Rooney
Sent: Friday, May 12, 2006 1:46 PM
To: Scott Greig
Cc: dev@apr.apache.org
Subject: Re: Compiling with __USE_LARGEFILE64 on linux
Has anyone successfully built apr for win64?
Thanks,
Scott Greig
Altair Engineering, Inc
,
pool);
if (s == APR_SUCCESS)
{
std::cout Path+Name: finfo.fname std::endl;
std::cout Name: finfo.name std::endl;
std::cout Size: finfo.size std::endl;
}
I'm using apr-1.0.0
Thanks,
Scott Greig
Altair Engineering, Inc.
-
From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 1:39 PM
To: Scott Greig
Cc: dev@apr.apache.org
Subject: Re: Bug in unix apr_stat involving the name field.
At 11:53 AM 9/20/2004, you wrote:
The following works on win32 but not on linux. Looks like the name