From owner-svn-src-all@FreeBSD.ORG Wed May 29 22:35:37 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D891BDCA; Wed, 29 May 2013 22:35:37 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id A0449D0D; Wed, 29 May 2013 22:35:37 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 30F86358C67; Thu, 30 May 2013 00:35:36 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 111DF28493; Thu, 30 May 2013 00:35:36 +0200 (CEST) Date: Thu, 30 May 2013 00:35:36 +0200 From: Jilles Tjoelker To: Eitan Adler Subject: Re: svn commit: r251078 - head/bin/sleep Message-ID: <20130529223535.GA11142@stack.nl> References: <201305282207.r4SM7We8065840@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 22:35:37 -0000 On Wed, May 29, 2013 at 01:32:05AM +0200, Eitan Adler wrote: > On 29 May 2013 00:07, Jilles Tjoelker wrote: > > Author: jilles > > Date: Tue May 28 22:07:31 2013 > > New Revision: 251078 > > URL: http://svnweb.freebsd.org/changeset/base/251078 > > Log: > > sleep: Improve nanosleep() error handling: > > * Work around kernel bugs that cause a spurious [EINTR] return if a > > debugger (such as truss(1)) is attached. > The the fact that this is a workaround be noted in a comment so the > code may be removed when the bug is fixed? Good point. I will add a comment soon. I do not expect a complete fix for the kernel bug soon, though. -- Jilles Tjoelker