D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Redhat 8.0 and 64 bit lseek



Kai, thanks.

I went back to the headers and defined _GNU_SOURCE which stopped the header 
tree overriding my othe options and at least now lets me use lseek64().

jd


On Friday 20 February 2004 20:25, Kai Hendry wrote:
On Fri, Feb 20, 2004 at 07:44:44 +0000, John Daragon wrote:
I must be getting old.
it's a nice programming environment.  And I know RedHat 8.0 does big
files because I can write them, but I can't for the life of me come up
with a combination of C compiler options that doesn't result in the
redefinition of off64_t as off_t and have lseek return 32 bits. Which
isn't enough. Anyone done this successfully ?

See my patch here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=222124

Or see /usr/include/features.h


It's a very common problem. If you see a bug when it comes to some sort
of 2G limit, it's most likely this.

-- 
John Daragon           argv[0] limited               john@xxxxxxxxxx
Lambs Lawn Cottage, Staple Fitzpaine, Taunton TA3 5SL, UK
(house) 01460 234537                           (office) 01460 234068
(mobile) 07836 576127                          (fax)     01460 234069

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly