NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51833: [PATCH] tests/lib/libc/gen/t_siginfo: use portable #includes



The following reply was made to PR bin/51833; it has been noted by GNATS.

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51833: [PATCH] tests/lib/libc/gen/t_siginfo: use portable
 #includes
Date: Wed, 11 Jan 2017 22:11:08 -0800

 --Apple-Mail=_85A99549-D4C1-4BA7-AAE7-ACF54AA5C9EE
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 
 --Apple-Mail=_85A99549-D4C1-4BA7-AAE7-ACF54AA5C9EE
 Content-Disposition: attachment;
 	filename=lib-libc-gen-t_siginfo-use-portable-headers-and-sort-them.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="lib-libc-gen-t_siginfo-use-portable-headers-and-sort-them.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: gen/t_siginfo.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/gen/t_siginfo.c,v
 retrieving revision 1.30
 diff -u -r1.30 t_siginfo.c
 --- gen/t_siginfo.c	22 Dec 2015 14:25:58 -0000	1.30
 +++ gen/t_siginfo.c	12 Jan 2017 05:11:41 -0000
 @@ -28,7 +28,6 @@
  
  #include <atf-c.h>
  
 -#include <sys/inttypes.h>
  #include <sys/resource.h>
  #include <sys/sysctl.h>
  #include <sys/time.h>
 @@ -36,13 +35,14 @@
  #include <sys/wait.h>
  
  #include <assert.h>
 +#include <float.h>
 +#include <inttypes.h>
 +#include <setjmp.h>
  #include <signal.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
  #include <unistd.h>
 -#include <setjmp.h>
 -#include <float.h>
  
  #include <fenv.h>
  #ifdef __HAVE_FENV
 
 --Apple-Mail=_85A99549-D4C1-4BA7-AAE7-ACF54AA5C9EE--
 


Home | Main Index | Thread Index | Old Index