NetBSD Problem Report #51838
From www@NetBSD.org Fri Jan 13 04:32:55 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 3A7E37A265
for <gnats-bugs@gnats.NetBSD.org>; Fri, 13 Jan 2017 04:32:55 +0000 (UTC)
Message-Id: <20170113043254.4CD537A292@mollari.NetBSD.org>
Date: Fri, 13 Jan 2017 04:32:54 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] tests/lib/libm/t_pow: use isinf instead of isinff
X-Send-Pr-Version: www-1.0
>Number: 51838
>Category: bin
>Synopsis: [PATCH] tests/lib/libm/t_pow: use isinf instead of isinff
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 13 04:35:00 +0000 2017
>Closed-Date: Fri Jan 20 21:16:30 +0000 2017
>Last-Modified: Fri Jan 20 21:20:01 +0000 2017
>Originator: Ngie Cooper
>Release: 7.0.2
>Organization:
>Environment:
n/a
>Description:
isinff (and the other d/f/l) functions are discouraged in lieu of the non-type specific function.
The patch that will be attached uses isinf instead of isinff for portability to FreeBSD.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/51838: [PATCH] tests/lib/libm/t_pow: use isinf instead of
isinff
Date: Thu, 12 Jan 2017 20:39:05 -0800
--Apple-Mail=_844E8240-2347-4D37-BFD6-C4AFC8E2FC86
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
Patch attached.
-Ngie
--Apple-Mail=_844E8240-2347-4D37-BFD6-C4AFC8E2FC86
Content-Disposition: attachment;
filename=lib-libm-t_pow-use-isinf-instead-of-ininff.patch
Content-Type: application/applefile;
name="lib-libm-t_pow-use-isinf-instead-of-ininff.patch"
Content-Transfer-Encoding: base64
AAUWAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAJAAAAMgAAAAoAAAADAAAAPAAAADAAAAAAAAAA
AAAAbGliLWxpYm0tdF9wb3ctdXNlLWlzaW5mLWluc3RlYWQtb2YtaW5pbmZmLnBhdGNo
--Apple-Mail=_844E8240-2347-4D37-BFD6-C4AFC8E2FC86--
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 20 Jan 2017 21:16:30 +0000
State-Changed-Why:
applied, thanks for the patches!
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51838 CVS commit: src/tests/lib/libm
Date: Fri, 20 Jan 2017 21:15:56 +0000
Module Name: src
Committed By: maya
Date: Fri Jan 20 21:15:56 UTC 2017
Modified Files:
src/tests/lib/libm: t_pow.c
Log Message:
use isinf instead of isinff. this doesn't introduce a functional change -
isinf works for float as well, and is more portable.
from Ngie Cooper in PR bin/51838
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libm/t_pow.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.