From owner-svn-src-head@FreeBSD.ORG Thu Sep 3 08:43:31 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5F38106566B; Thu, 3 Sep 2009 08:43:31 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 25C068FC0A; Thu, 3 Sep 2009 08:43:30 +0000 (UTC) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n838hRQD065289; Thu, 3 Sep 2009 12:43:27 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1251967408; bh=r3tFUjJuCIeu4V/6AZUuhE27I4lJx6zsde6nXXU+FZc=; l=474; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=hTqi2HdHeNVpFlDFKE9A5/PZtinGVl6Tbie9p3J/w3Huwp0bu5YdXpTccj721PRbc Xy0Qz5l2HzTm4GtbaAw2YilXYz035+jS39M0CgoHR2HEuw467xrF55gU6RUu82oL6d hc9iLRe+SHRBTzhAFpejuwQVWSscTPQnMD0ybJnY= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n838hQ6H065288; Thu, 3 Sep 2009 12:43:27 +0400 (MSD) (envelope-from ache) Date: Thu, 3 Sep 2009 12:43:25 +0400 From: Andrey Chernov To: Dag-Erling Sm??rgrav Message-ID: <20090903084325.GA65192@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Dag-Erling Sm??rgrav , "Simon L. Nielsen" , src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org References: <200909020456.n824uUqQ082136@svn.freebsd.org> <20090902070808.GA1290@arthur.nitro.dk> <20090902084002.GA17325@nagual.pp.ru> <867hwgcwvo.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <867hwgcwvo.fsf@ds4.des.no> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, "Simon L. Nielsen" Subject: Re: svn commit: r196752 - head/lib/libc/stdtime X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 08:43:31 -0000 On Thu, Sep 03, 2009 at 09:26:03AM +0200, Dag-Erling Sm??rgrav wrote: > > - The core dump ache refers to can occur with a na??ve implementation > that uses a lookup table and checks for EOF, but not for other > negative values. Thanx for detailed explanation. Just to note: even such naive implemetations still live inside POSIX, since POSIX says that behaviour outside of "unsigned char" range + exact EOF value is undefined. -- http://ache.pp.ru/