Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2015 13:24:28 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        NGie Cooper <yaneurabeya@gmail.com>, Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        Dmitry Chagin <dchagin@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r292777 - in head: lib/libc/sys sys/kern
Message-ID:  <1451247868.1369.16.camel@freebsd.org>
In-Reply-To: <8D7D617E-FF9E-4D74-87CB-1F3EE65D108A@gmail.com>
References:  <201512271537.tBRFb7nN095297@repo.freebsd.org> <1451236237.1369.9.camel@freebsd.org> <20151227184101.GG70867@zxy.spb.ru> <1451243810.1369.10.camel@freebsd.org> <20151227193046.GE4535@zxy.spb.ru> <8D7D617E-FF9E-4D74-87CB-1F3EE65D108A@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2015-12-27 at 12:05 -0800, NGie Cooper wrote:
> > On Dec 27, 2015, at 11:30, Slawa Olhovchenkov <slw@zxy.spb.ru>
> > wrote:
> 
> …
> 
> > > I have no idea what you mean by that -- I didn't say anything at
> > > all
> > > about panic.
> > 
> > As I understund commit log -- this is prevent kernel panic at some
> > call (with illegal arguments). This accpetable irrelevant to bugs
> > in
> > calling code.
> 
> 	This also makes us POSIX compliant and more compatible with
> Linux: 
> http://pubs.opengroup.org/onlinepubs/007908799/xsh/clock_settime.html
>  (search for “negative”).
> Thanks kib!
> -NGie

This thread just keeps becoming more and more surrealistic.  First
someone tries to reply to the original commit (I guess?) by replying
with a complete non sequitur to my reply.  Now you cite a document that
says nothing directly related to the commit at all.

The only reference to "negative" in what you cited is part of
specifying how to truncate/round fractional values that fall between
two representable values given the resolution of the clock you're
setting.

Later in that document they specifically require EINVAL for negative
fractional second values.  If they intended to to prohibit negative
whole-second values, that would certainly have been the place to
mention it, and they don't.

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1451247868.1369.16.camel>