NetBSD Problem Report #51873

From www@NetBSD.org  Sat Jan 14 07:37:08 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 6B0BE7A268
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 14 Jan 2017 07:37:08 +0000 (UTC)
Message-Id: <20170114073707.501B27A2B6@mollari.NetBSD.org>
Date: Sat, 14 Jan 2017 07:37:07 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] tests/lib/regex/t_regex_att.c: add util.h #include
X-Send-Pr-Version: www-1.0

>Number:         51873
>Category:       bin
>Synopsis:       [PATCH] tests/lib/regex/t_regex_att.c: add util.h #include
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 14 07:40:00 +0000 2017
>Closed-Date:    Sun Jan 15 20:25:21 +0000 2017
>Last-Modified:  Sun Jan 15 20:25:21 +0000 2017
>Originator:     Ngie Cooper
>Release:        7.0.2
>Organization:
>Environment:
n/a
>Description:
- Add util.h #include for fparseln(3).
- Sort headers.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/51873: [PATCH] tests/lib/regex/t_regex_att.c: add util.h
 #include
Date: Fri, 13 Jan 2017 23:40:48 -0800

 --Apple-Mail=_E2200CAD-B253-4EB7-8121-598F97E1A655
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii

 I missed this in my initial patch submission for t_regex_att.c by accident..
 -Ngie

 --Apple-Mail=_E2200CAD-B253-4EB7-8121-598F97E1A655
 Content-Disposition: attachment;
 	filename=t_regex_att-add-util_h-for-fparseln-sort-headers.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_regex_att-add-util_h-for-fparseln-sort-headers.patch"
 Content-Transfer-Encoding: 7bit

 Index: lib/libc/regex/t_regex_att.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/regex/t_regex_att.c,v
 retrieving revision 1.2
 diff -u -r1.2 t_regex_att.c
 --- lib/libc/regex/t_regex_att.c	14 Jan 2017 00:50:56 -0000	1.2
 +++ lib/libc/regex/t_regex_att.c	14 Jan 2017 07:35:23 -0000
 @@ -41,13 +41,14 @@

  #include <sys/param.h>

 -#include <stdio.h>
 +#include <atf-c.h>
 +#include <ctype.h>
  #include <regex.h>
 -#include <string.h>
 +#include <stdio.h>
  #include <stdlib.h>
 +#include <string.h>
 +#include <util.h>
  #include <vis.h>
 -#include <ctype.h>
 -#include <atf-c.h>

  static const char sep[] = "\r\n\t";
  static const char delim[3] = "\\\\\0";

 --Apple-Mail=_E2200CAD-B253-4EB7-8121-598F97E1A655--

From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51873 CVS commit: src/tests/lib/libc/regex
Date: Sat, 14 Jan 2017 15:59:23 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Sat Jan 14 20:59:23 UTC 2017

 Modified Files:
 	src/tests/lib/libc/regex: t_regex_att.c

 Log Message:
 PR/51873: Ngie Cooper: add util.h #include


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/regex/t_regex_att.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Sun, 15 Jan 2017 20:25:21 +0000
State-Changed-Why:
christos committed it. thanks!


>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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.