wineserver epoll
Alexandre Julliard
julliard at winehq.org
Sun Aug 29 14:15:08 CDT 2004
Shachar Shemesh <wine-patches at shemesh.biz> writes:
> After much talk, the patch seems ready for commit. Since there are many
> systems with slightly older glibc that have the header but do not have
> the implementation in glibc, or that have a stub implementation that is
> guaranteed to fail, we are calling the kernel functions directly. This
> also allows compiling on older systems than the code actually ships to.
>
> Accordingly, the autoconf checks for epoll_create in glibc were dropped.
That's wrong; if the libc function exists you should use it, direct
system calls should only be used as a fallback. And when using system
calls you must not depend on the libc header, you have to define the
structures yourself.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list