NetBSD Problem Report #49011

From www@NetBSD.org  Thu Jul 17 20:28:42 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 8DAB7A5832
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Jul 2014 20:28:42 +0000 (UTC)
Message-Id: <20140717202841.8BCA1A6552@mollari.NetBSD.org>
Date: Thu, 17 Jul 2014 20:28:41 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [patch] t_link: uses LINE_MAX; missing #include for limits.h
X-Send-Pr-Version: www-1.0

>Number:         49011
>Category:       bin
>Synopsis:       [patch] t_link: uses LINE_MAX; missing #include for limits.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 20:30:00 +0000 2014
>Closed-Date:    Thu Aug 10 01:54:27 +0000 2017
>Last-Modified:  Thu Aug 10 01:54:27 +0000 2017
>Originator:     Garrett Cooper
>Release:        n/a
>Organization:
EMC / Isilon Storage Division
>Environment:
n/a
>Description:
t_link references LINE_MAX in the test code which according to POSIX (and is required by FreeBSD), should be pulled from limits.h. It appears that NetBSD is pulling in limits.h from another header file.

The patch attached makes the #include explicit.
>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/49011: [patch] t_link: uses LINE_MAX; missing #include for limits.h
Date: Thu, 17 Jul 2014 13:33:36 -0700

 --20cf3040e54426948e04fe698e7d
 Content-Type: text/plain; charset=UTF-8

 On Thu, Jul 17, 2014 at 1:30 PM,  <gnats-admin@netbsd.org> wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `bin/49011'.
 > The individual assigned to look at your
 > report is: bin-bug-people.
 >
 >>Category:       bin
 >>Responsible:    bin-bug-people
 >>Synopsis:       [patch] t_link: uses LINE_MAX; missing #include for limits.h
 >>Arrival-Date:   Thu Jul 17 20:30:00 +0000 2014

     Here's the patch.
 Thanks!
 -Garrett

 --20cf3040e54426948e04fe698e7d
 Content-Type: application/octet-stream; 
 	name="t_link-add-missing-limits-header-include.patch"
 Content-Disposition: attachment; 
 	filename="t_link-add-missing-limits-header-include.patch"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_hxqjcefi0

 SW5kZXg6IHRlc3RzL2xpYi9saWJjL3N5cy90X2xpbmsuYwo9PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAv
 Y3Zzcm9vdC9zcmMvdGVzdHMvbGliL2xpYmMvc3lzL3RfbGluay5jLHYKcmV0cmlldmluZyByZXZp
 c2lvbiAxLjIKZGlmZiAtdSAtcjEuMiB0X2xpbmsuYwotLS0gdGVzdHMvbGliL2xpYmMvc3lzL3Rf
 bGluay5jCTIxIEFwciAyMDE0IDE0OjM5OjM2IC0wMDAwCTEuMgorKysgdGVzdHMvbGliL2xpYmMv
 c3lzL3RfbGluay5jCTE3IEp1bCAyMDE0IDIwOjI2OjE5IC0wMDAwCkBAIC0zNyw2ICszNyw3IEBA
 CiAjaW5jbHVkZSA8YXRmLWMuaD4KICNpbmNsdWRlIDxlcnJuby5oPgogI2luY2x1ZGUgPGZjbnRs
 Lmg+CisjaW5jbHVkZSA8bGltaXRzLmg+CiAjaW5jbHVkZSA8c3RkaW8uaD4KICNpbmNsdWRlIDxz
 dHJpbmcuaD4KICNpbmNsdWRlIDx1bmlzdGQuaD4K
 --20cf3040e54426948e04fe698e7d--

State-Changed-From-To: open->closed
State-Changed-By: ginsbach@NetBSD.org
State-Changed-When: Thu, 10 Aug 2017 01:54:27 +0000
State-Changed-Why:
christos committed fix for PR/51853 also fixing this issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.