NetBSD-Bugs archive

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

Re: bin/51851: [PATCH] tests/lib/libc/sys/t_dup: add stdbool.h #include for false/true



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

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51851: [PATCH] tests/lib/libc/sys/t_dup: add stdbool.h
 #include for false/true
Date: Thu, 12 Jan 2017 22:06:18 -0800

 --Apple-Mail=_ECDFAE63-7A3D-4829-B8B3-69E54C5F19D8
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_ECDFAE63-7A3D-4829-B8B3-69E54C5F19D8
 Content-Disposition: attachment;
 	filename=t_dup-add-stdbool-include-for-true-and-false.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_dup-add-stdbool-include-for-true-and-false.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_dup.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_dup.c,v
 retrieving revision 1.8
 diff -u -r1.8 t_dup.c
 --- lib/libc/sys/t_dup.c	18 Mar 2012 07:00:51 -0000	1.8
 +++ lib/libc/sys/t_dup.c	13 Jan 2017 05:59:49 -0000
 @@ -39,6 +39,7 @@
  #include <errno.h>
  #include <fcntl.h>
  #include <limits.h>
 +#include <stdbool.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
 
 --Apple-Mail=_ECDFAE63-7A3D-4829-B8B3-69E54C5F19D8--
 


Home | Main Index | Thread Index | Old Index