NetBSD Problem Report #49002
From www@NetBSD.org Thu Jul 17 05:33:51 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(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 86CBDA5810
for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Jul 2014 05:33:51 +0000 (UTC)
Message-Id: <20140717053314.3D3B4A655B@mollari.NetBSD.org>
Date: Thu, 17 Jul 2014 05:33:14 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [patch] t_nice: mark signo in handler __unused
X-Send-Pr-Version: www-1.0
>Number: 49002
>Category: bin
>Synopsis: [patch] t_nice: mark signo in handler __unused
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 17 05:35:00 +0000 2014
>Closed-Date: Thu Aug 10 01:41:57 +0000 2017
>Last-Modified: Thu Aug 10 01:41:57 +0000 2017
>Originator: Garrett Cooper
>Release: n/a
>Organization:
EMC / Isilon Storage Division
>Environment:
n/a
>Description:
clang complains about signo being unused when provided -Wunused. The attached patch fixes that.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Garrett Cooper <yaneurabeya@gmail.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>
Cc:
Subject: Re: bin/49002: [patch] t_nice: mark signo in handler __unused
Date: Wed, 16 Jul 2014 22:39:59 -0700
--089e0149baaa522b0704fe5d12cb
Content-Type: text/plain; charset=UTF-8
On Wed, Jul 16, 2014 at 10:35 PM, <gnats-admin@netbsd.org> wrote:
> Thank you very much for your problem report.
> It has the internal identification `bin/49002'.
> The individual assigned to look at your
> report is: bin-bug-people.
>
>>Category: bin
>>Responsible: bin-bug-people
>>Synopsis: [patch] t_nice: mark signo in handler __unused
>>Arrival-Date: Thu Jul 17 05:35:00 +0000 2014
The synopsis should read t_nanosleep, not t_nice.
Patch attached -- thanks :)!
-Garrett
--089e0149baaa522b0704fe5d12cb
Content-Type: application/octet-stream;
name="t_nanosleep-mark-unused-arguments-in-signal-handler.patch"
Content-Disposition: attachment;
filename="t_nanosleep-mark-unused-arguments-in-signal-handler.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hxpnerev0
SW5kZXg6IHRlc3RzL2xpYi9saWJjL3N5cy90X25hbm9zbGVlcC5jCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZp
bGU6IC9jdnNyb290L3NyYy90ZXN0cy9saWIvbGliYy9zeXMvdF9uYW5vc2xlZXAuYyx2CnJldHJp
ZXZpbmcgcmV2aXNpb24gMS4zCmRpZmYgLXUgLXIxLjMgdF9uYW5vc2xlZXAuYwotLS0gdGVzdHMv
bGliL2xpYmMvc3lzL3RfbmFub3NsZWVwLmMJMzEgTWFyIDIwMTMgMTY6NDc6MTYgLTAwMDAJMS4z
CisrKyB0ZXN0cy9saWIvbGliYy9zeXMvdF9uYW5vc2xlZXAuYwkxNyBKdWwgMjAxNCAwNDo1NTo1
MiAtMDAwMApAQCAtNDUsNyArNDUsNyBAQAogI2luY2x1ZGUgPHVuaXN0ZC5oPgogCiBzdGF0aWMg
dm9pZAotaGFuZGxlcihpbnQgc2lnbm8pCitoYW5kbGVyKGludCBzaWdubyBfX3VudXNlZCkKIHsK
IAkvKiBOb3RoaW5nLiAqLwogfQo=
--089e0149baaa522b0704fe5d12cb--
State-Changed-From-To: open->closed
State-Changed-By: ginsbach@NetBSD.org
State-Changed-When: Thu, 10 Aug 2017 01:41:57 +0000
State-Changed-Why:
christos committed change contained in attached patch to t_nanosleep.c
for PR/51857. The subject of this PR is incorrect as t_nice doesn't have
a signal handler and the submitted patch was for t_nanosleep.c.
>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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.