svn commit: r419272 - head/devel/cvs/files

Baptiste Daroussin bapt at FreeBSD.org
Fri Jul 29 22:56:19 UTC 2016


Author: bapt
Date: Fri Jul 29 22:56:17 2016
New Revision: 419272
URL: https://svnweb.freebsd.org/changeset/ports/419272

Log:
  prevent collision with getline(3)

Added:
  head/devel/cvs/files/patch-lib_getline.c   (contents, props changed)
  head/devel/cvs/files/patch-lib_getline.h   (contents, props changed)

Added: head/devel/cvs/files/patch-lib_getline.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cvs/files/patch-lib_getline.c	Fri Jul 29 22:56:17 2016	(r419272)
@@ -0,0 +1,11 @@
+--- lib/getline.c.orig	2012-01-21 05:30:24 UTC
++++ lib/getline.c
+@@ -155,7 +155,7 @@ getstr (lineptr, n, stream, terminator, 
+ }
+ 
+ int
+-getline (lineptr, n, stream)
++get_line (lineptr, n, stream)
+      char **lineptr;
+      size_t *n;
+      FILE *stream;

Added: head/devel/cvs/files/patch-lib_getline.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cvs/files/patch-lib_getline.h	Fri Jul 29 22:56:17 2016	(r419272)
@@ -0,0 +1,11 @@
+--- lib/getline.h.orig	2012-01-21 05:30:24 UTC
++++ lib/getline.h
+@@ -12,7 +12,7 @@
+ #define GETLINE_NO_LIMIT -1
+ 
+ int
+-  getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
++  get_line __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+ int
+   getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
+                          int limit));


More information about the svn-ports-all mailing list