PATCH: set_thread_buffer fixed

lawson_whitney at juno.com lawson_whitney at juno.com
Sat Jun 2 19:18:36 CDT 2001


On Sat, 2 Jun 2001, Marcus Meissner wrote:
>
> I have debugged the problem for some hours.
>
> One problem I noticed is that the prototype for mmap64 in the glibc 2.1.1
> headers is wrong (uses __off_t instead of __off64_t).
>
> Also the glibc mmap64 implementation is relying very much on the kernel
> it was compiled on. So it might break if it was compiled on a different
> kernel.
>
> I have now changed config.h to only enable 64bit support for glibc 2.2
> or better.
>
> Tested with using a wineserver compiled on glibc 2.1.1/2.2.14 running
> on glibc 2.2.1/2.4.latest.
>
> I have to include <features.h> in config.h now, so I needed to move
> the _GNU_SOURCE define in pthread.c
>
> Ciao, Marcus
>
> Changelog:
> 	Enable 64bit file operations on Linux only for glibc 2.2 or better,
> 	since mmap64 is broken on glibc 2.1.
>
Looks OK, but I can't get it to work.  I haven't run a full make, but no
matter what I try (rm config.*, rm include/config.h), ./configure
generates an include/config.h with _FILE_OFFSET_BITS defined.  I thought
maybe it was that 1.3 > 1, but I can't find GLIBC anything with make -p
nor anywhere in config.cache nor config.log ..

It seems that should fail the first #if... but it acts as if it doesn't.

Maybe I am doing something stupid, or skipping something obvious.  I
hope you can tell me what.  Does make change include/config.h?  Do I
need to run a full make before I know if it worked?

Lawson
---cut here


________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.




More information about the wine-patches mailing list