]> Savannah Git Hosting - gnulib.git/commitdiff
vma-iter: Fix truncated result on NetBSD (regression from 2017-10-07).
authorBruno Haible <bruno@clisp.org>
Sun, 8 Oct 2017 10:24:45 +0000 (12:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 8 Oct 2017 10:24:45 +0000 (12:24 +0200)
* lib/vma-iter.c (MIN_LEFTOVER): Define to 1, not 0.

ChangeLog
lib/vma-iter.c

index 8a225e924d85611aaac533cddeaf484224b347f6..b5575a45a7049e83564d61dc5d2e2e1bbe6559c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-08  Bruno Haible  <bruno@clisp.org>
+
+       vma-iter: Fix truncated result on NetBSD (regression from 2017-10-07).
+       * lib/vma-iter.c (MIN_LEFTOVER): Define to 1, not 0.
+
 2017-10-07  KO Myung-Hun  <komh@chollian.net>
 
        test-framework-sh: Fix 'invalid path dir' error.
index 26669406493c8402e02e700fe7ccd219747b7b37..d8575ce16f0de5c86c4dd197ea47e8e2f0522e66 100644 (file)
      left when read() returned.  */
 #  define MIN_LEFTOVER (73 + PATH_MAX)
 # else
-#  define MIN_LEFTOVER 0
+#  define MIN_LEFTOVER 1
 # endif
 
 # ifdef TEST