From owner-cvs-all@FreeBSD.ORG Thu May 11 23:22:53 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 559CA16A5C5; Thu, 11 May 2006 23:22:53 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Maxim Konovalov Date: Fri, 12 May 2006 07:22:46 +0800 User-Agent: KMail/1.8.2 References: <200605110910.k4B9AYK5065047@repoman.freebsd.org> <20060511224018.J54716@mp2.macomnet.net> In-Reply-To: <20060511224018.J54716@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605120722.47197.davidxu@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen syslog.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 23:22:55 -0000 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.