cvs commit: src/lib/libc/gen syslog.c

Maxim Konovalov maxim at macomnet.ru
Thu May 11 18:46:46 UTC 2006


On Thu, 11 May 2006, 09:10-0000, David Xu wrote:

> davidxu     2006-05-11 09:10:33 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     lib/libc/gen         syslog.c
>   Log:
>   Save errno before calling pthread_mutex_lock because pthread_mutex_lock
>   may change errno unexpectly.

AFAIR POSIX's pthread_* don't change errno.  Is it a bug in our
implementation?

-- 
Maxim Konovalov


More information about the cvs-src mailing list