thkukuk / ypbind-mt

Multithreaded daemon maintaining the NIS binding informations.
GNU General Public License v2.0
3 stars 2 forks source link

Add support for gettid() provided by glibc #2

Closed mmuzila closed 5 years ago

mmuzila commented 5 years ago

Wrapper for gettid system call was not provided by glibc until version 2.30. Since version 2.30 glibc provides it and it causes conflicts with gettid() defined locally (in log_msg.c). Use the local definition of gettid only if system gettid is not available.

https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD