[Bug 32369] dlls/ntdll/file.c fails to link with older glibc due to missing fallocate64()

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 6 04:40:33 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=32369

--- Comment #10 from Hans Leidekker <hans at meelstraat.net> 2012-12-06 04:40:33 CST ---
(In reply to comment #9)
> (In reply to comment #8)
> > Created attachment 42725 [details]
> > patch
> > 
> > Does this patch work for you?
> 
> Yes, this patch fixes fallocate() detection here (HAVE_FALLOCATE is not
> defined by configure). Perhaps _GNU_SOURCE should be defined by a generic
> API detector, since wine/port.h forces its definition anyway?

Well, wine/port.h states that it needs that for pread and pwrite but for
them the standard configure check seems to suffice.

It would guard us against the next function that needs it but on the other
hand, this is only the second function and I don't see many more coming.

There's also value in being made aware of broken systems ;)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list