NetBSD-Bugs archive

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

Re: bin/51841: [PATCH] tests/lib/libc/sys/t_wait: portability fixes for FreeBSD



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

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51841: [PATCH] tests/lib/libc/sys/t_wait: portability fixes
 for FreeBSD
Date: Thu, 12 Jan 2017 21:03:53 -0800

 --Apple-Mail=_45E5EA38-0672-4A41-A817-3970E68CEC81
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 
 --Apple-Mail=_45E5EA38-0672-4A41-A817-3970E68CEC81
 Content-Disposition: attachment;
 	filename*0=lib-libc-sys-t_wait-add-inttypes-for-uintmax_t-sort-includes.pat;
 	filename*1=ch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="lib-libc-sys-t_wait-add-inttypes-for-uintmax_t-sort-includes.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_wait.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_wait.c,v
 retrieving revision 1.7
 diff -u -r1.7 t_wait.c
 --- lib/libc/sys/t_wait.c	6 Nov 2016 15:04:14 -0000	1.7
 +++ lib/libc/sys/t_wait.c	13 Jan 2017 04:48:37 -0000
 @@ -34,11 +34,12 @@
  #include <sys/wait.h>
  #include <sys/resource.h>
  
 -#include <stdio.h>
  #include <errno.h>
 +#include <inttypes.h>
  #include <limits.h>
  #include <pwd.h>
  #include <signal.h>
 +#include <stdio.h>
  #include <stdlib.h>
  #include <unistd.h>
  
 
 --Apple-Mail=_45E5EA38-0672-4A41-A817-3970E68CEC81--
 


Home | Main Index | Thread Index | Old Index