[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] proposed bugfix for #706
From: |
Alan Post |
Subject: |
Re: [Chicken-hackers] [PATCH] proposed bugfix for #706 |
Date: |
Thu, 29 Sep 2011 06:26:23 -0600 |
On Thu, Sep 29, 2011 at 12:28:07PM +0200, Christian Kellermann wrote:
> Ok, we can signal the error this way. We should also investigate
> the compatibility of this -D_FILE_OFFSET_BITS=64 stuff.
>
I basically run all of my C code with this magic flag. I believe it
changes the type of off_t and some other typedefs. It must, in
doing that, change the version of calls like lseek the application
makes. I'm not sure what happens when you combine object files
which do and don't declare this flag. I'll bet they work--with the
32-bit code failing in cases the 64-bit code can handle, but I don't
really know: I've always just set this flag before including system
headers without trying to mix code that isn't compiled this way.
I'd love to have this flag set.
-Alan
--
.i ma'a lo bradi cu penmi gi'e du