NetBSD-Bugs archive

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

Re: bin/51853: [PATCH] tests/lib/libc/sys/t_link: add limits.h for MAXPATHLEN



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

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

 --Apple-Mail=_E45E76A3-1C9D-41C9-B004-2AA5329CBC1E
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_E45E76A3-1C9D-41C9-B004-2AA5329CBC1E
 Content-Disposition: attachment;
 	filename=t_link-add-limits_h-for-MAXPATHLEN.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_link-add-limits_h-for-MAXPATHLEN.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_link.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_link.c,v
 retrieving revision 1.2
 diff -u -r1.2 t_link.c
 --- lib/libc/sys/t_link.c	21 Apr 2014 14:39:36 -0000	1.2
 +++ lib/libc/sys/t_link.c	13 Jan 2017 06:08:31 -0000
 @@ -37,6 +37,7 @@
  #include <atf-c.h>
  #include <errno.h>
  #include <fcntl.h>
 +#include <limits.h>
  #include <stdio.h>
  #include <string.h>
  #include <unistd.h>
 
 --Apple-Mail=_E45E76A3-1C9D-41C9-B004-2AA5329CBC1E--
 


Home | Main Index | Thread Index | Old Index