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

David Xu davidxu at freebsd.org
Thu May 11 23:22:54 UTC 2006


On Friday 12 May 2006 02:41, Maxim Konovalov wrote:
> 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?

AFAIK, POSIX does not say pthread_* can not change errno.


More information about the cvs-src mailing list