Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2016 20:26:38 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415028 - head/shells/flash/files
Message-ID:  <201605112026.u4BKQcW9002746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed May 11 20:26:38 2016
New Revision: 415028
URL: https://svnweb.freebsd.org/changeset/ports/415028

Log:
  Prevent collision with getline(3)

Modified:
  head/shells/flash/files/patch-string.h

Modified: head/shells/flash/files/patch-string.h
==============================================================================
--- head/shells/flash/files/patch-string.h	Wed May 11 20:22:07 2016	(r415027)
+++ head/shells/flash/files/patch-string.h	Wed May 11 20:26:38 2016	(r415028)
@@ -1,6 +1,6 @@
---- string.h.orig	Thu Jan 18 01:21:24 2001
-+++ string.h	Fri Jan 26 05:36:32 2001
-@@ -2,7 +2,6 @@
+--- string.h.orig	2001-11-03 18:09:21 UTC
++++ string.h
+@@ -2,14 +2,13 @@
  #   define __STRING_H
  
  #include <ctype.h>
@@ -8,3 +8,11 @@
  
  #define CR '\n'
  #define TAB '\t'
+ 
+ char *readline(FILE *fp);
+ char *findline(char *start, int *foundend);
+-int getline(const char *, char *);
++int get_line(const char *, char *);
+ int substr(const char *, char *, char);
+ int strtokenize(char *line, char delim, char **tokens, int maxtokens);
+ char *stradp(char *filename);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605112026.u4BKQcW9002746>