Re: File > 2gb
From: Andrew Gabriel (andrew_at_cucumber.demon.co.uk)
Date: 07/29/03
- Previous message: Richard: "Re: Is this IPC scheme brain-dead?"
- In reply to: cc: "File > 2gb"
- Next in thread: cc: "Re: File > 2gb"
- Reply: cc: "Re: File > 2gb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jul 2003 15:10:13 GMT
In article <qdvVa.48540$PD3.4511978@nnrp1.uunet.ca>,
"cc" <ultraman@rogers.com> writes:
> Hi there,
> I compiled my program under sun 5.4 and ran it in 5.7, but stat call
> failed with file > 2GB and returns error code 79. I did
> se -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to compile. I checked stat.h
> in 5.4 and there is no stat64. Any idea to compile under 5.4 and make it
> work on 5.7 and up with 2GB file? TIA
Solaris 2.6 is the first release you can build largefile(5) aware apps.
Prior to that, -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 won't have
any effect.
-- Andrew Gabriel
- Previous message: Richard: "Re: Is this IPC scheme brain-dead?"
- In reply to: cc: "File > 2gb"
- Next in thread: cc: "Re: File > 2gb"
- Reply: cc: "Re: File > 2gb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]