NetBSD-Bugs archive

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

Re: bin/51856: [PATCH] tests/lib/libc/sys/t_msg*: add limits.h for INT_MAX



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

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51856: [PATCH] tests/lib/libc/sys/t_msg*: add limits.h for
 INT_MAX
Date: Thu, 12 Jan 2017 22:35:50 -0800

 --Apple-Mail=_F354A5BD-FAA1-450E-9E4F-33277E2D0021
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_F354A5BD-FAA1-450E-9E4F-33277E2D0021
 Content-Disposition: attachment;
 	filename=t_msg-add-limits.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_msg-add-limits.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_msgctl.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_msgctl.c,v
 retrieving revision 1.4
 diff -u -r1.4 t_msgctl.c
 --- lib/libc/sys/t_msgctl.c	27 Feb 2014 00:59:50 -0000	1.4
 +++ lib/libc/sys/t_msgctl.c	13 Jan 2017 06:31:56 -0000
 @@ -38,6 +38,7 @@
  
  #include <atf-c.h>
  #include <errno.h>
 +#include <limits.h>
  #include <pwd.h>
  #include <stdio.h>
  #include <stdlib.h>
 Index: lib/libc/sys/t_msgrcv.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_msgrcv.c,v
 retrieving revision 1.3
 diff -u -r1.3 t_msgrcv.c
 --- lib/libc/sys/t_msgrcv.c	24 Jul 2013 11:44:10 -0000	1.3
 +++ lib/libc/sys/t_msgrcv.c	13 Jan 2017 06:31:56 -0000
 @@ -38,6 +38,7 @@
  
  #include <atf-c.h>
  #include <errno.h>
 +#include <limits.h>
  #include <pwd.h>
  #include <signal.h>
  #include <stdio.h>
 Index: lib/libc/sys/t_msgsnd.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_msgsnd.c,v
 retrieving revision 1.2
 diff -u -r1.2 t_msgsnd.c
 --- lib/libc/sys/t_msgsnd.c	5 Nov 2011 08:47:54 -0000	1.2
 +++ lib/libc/sys/t_msgsnd.c	13 Jan 2017 06:31:56 -0000
 @@ -38,6 +38,7 @@
  
  #include <atf-c.h>
  #include <errno.h>
 +#include <limits.h>
  #include <pwd.h>
  #include <signal.h>
  #include <stdio.h>
 
 --Apple-Mail=_F354A5BD-FAA1-450E-9E4F-33277E2D0021--
 


Home | Main Index | Thread Index | Old Index