[149807] trunk/dports/devel/libedit/files

jmr at macports.org jmr at macports.org
Thu Jun 30 04:24:13 PDT 2016


Revision: 149807
          https://trac.macports.org/changeset/149807
Author:   jmr at macports.org
Date:     2016-06-30 04:24:13 -0700 (Thu, 30 Jun 2016)
Log Message:
-----------
libedit: more getline fixes

Modified Paths:
--------------
    trunk/dports/devel/libedit/files/configure.patch
    trunk/dports/devel/libedit/files/getline.c

Modified: trunk/dports/devel/libedit/files/configure.patch
===================================================================
--- trunk/dports/devel/libedit/files/configure.patch	2016-06-30 11:03:53 UTC (rev 149806)
+++ trunk/dports/devel/libedit/files/configure.patch	2016-06-30 11:24:13 UTC (rev 149807)
@@ -1,6 +1,14 @@
 --- configure.orig	2016-06-18 22:35:29.000000000 +1000
-+++ configure	2016-06-30 18:41:02.000000000 +1000
-@@ -13623,6 +13623,23 @@
++++ configure	2016-06-30 21:15:07.000000000 +1000
+@@ -640,6 +640,7 @@
+ HAVE_STRLCAT_TRUE
+ HAVE_STRLCPY_FALSE
+ HAVE_STRLCPY_TRUE
++HAVE_GETLINE_FALSE
+ LIBOBJS
+ ENABLE_EXAMPLES_FALSE
+ ENABLE_EXAMPLES_TRUE
+@@ -13623,6 +13624,23 @@
  fi
  
  

Modified: trunk/dports/devel/libedit/files/getline.c
===================================================================
--- trunk/dports/devel/libedit/files/getline.c	2016-06-30 11:03:53 UTC (rev 149806)
+++ trunk/dports/devel/libedit/files/getline.c	2016-06-30 11:24:13 UTC (rev 149807)
@@ -30,7 +30,7 @@
     }
 
     for (i=0; ; i++) {
-        ch = fgetc(stream);
+        ch = fgetc(fp);
         while (i >= (*n) - 2) {
             *n *= 2;
             p = realloc(*lineptr, sizeof(char) * (*n));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160630/72e4d164/attachment.html>


More information about the macports-changes mailing list