wok-next diff cvs/stuff/patches/cvs-1.11.23-getline64.patch @ rev 21560

updated cmus (2.7.1 -> 2.8.0)
author Hans-G?nter Theisgen
date Mon Jun 22 14:31:56 2020 +0100 (2020-06-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cvs/stuff/patches/cvs-1.11.23-getline64.patch	Mon Jun 22 14:31:56 2020 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +--- cvs-1.11.23/lib/getline.c	2005-04-04 22:46:05.000000000 +0200
     1.5 ++++ cvs-1.11.23/lib/getline.c.old	2008-06-03 19:06:25.000000000 +0200
     1.6 +@@ -154,7 +154,7 @@
     1.7 +   return ret;
     1.8 + }
     1.9 + 
    1.10 +-int
    1.11 ++ssize_t
    1.12 + getline (lineptr, n, stream)
    1.13 +      char **lineptr;
    1.14 +      size_t *n;
    1.15 +@@ -163,7 +163,7 @@
    1.16 +   return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
    1.17 + }
    1.18 + 
    1.19 +-int
    1.20 ++ssize_t
    1.21 + getline_safe (lineptr, n, stream, limit)
    1.22 +      char **lineptr;
    1.23 +      size_t *n;
    1.24 +--- cvs-1.11.23/lib/getline.h	2005-04-04 22:46:05.000000000 +0200
    1.25 ++++ cvs-1.11.23/lib/getline.h.old	2008-06-03 19:06:27.000000000 +0200
    1.26 +@@ -11,9 +11,9 @@
    1.27 + 
    1.28 + #define GETLINE_NO_LIMIT -1
    1.29 + 
    1.30 +-int
    1.31 ++ssize_t
    1.32 +   getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
    1.33 +-int
    1.34 ++ssize_t
    1.35 +   getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
    1.36 +                          int limit));
    1.37 + int