qemu vs glibc

Paweł Sikora pluto at pld-linux.org
Sat Oct 16 15:03:28 CEST 2004


w qemu jest taki oto myk zastosowany:

/* SDL use the pthreads and they modify sigaction. We don't
   want that. */
#if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
extern void __libc_sigaction();
#define sigaction(sig, act, oact) __libc_sigaction(sig, act, oact)
#else
extern void __sigaction();
#define sigaction(sig, act, oact) __sigaction(sig, act, oact)
#endif

i wszystko jest ok dopóki nie zainstalujemy nowej wersji glibca:
http://sources.redhat.com/ml/libc-hacker/2004-05/msg00001.html
ktoś ma pomysła, jak to minąć bezboleśnie?

-- 
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

                           #define say(x) lie(x)




More information about the pld-devel-pl mailing list