archrelease: copy trunk to extra-x86_64
[arch-packages.git] / cvs / repos / extra-x86_64 / cvs-1.11.23-getline64.patch
blob99942e0589e4ff26e87a927c1a54662954876e64
1 --- cvs-1.11.23/lib/getline.c 2005-04-04 22:46:05.000000000 +0200
2 +++ cvs-1.11.23/lib/getline.c.old 2008-06-03 19:06:25.000000000 +0200
3 @@ -154,7 +154,7 @@
4 return ret;
7 -int
8 +ssize_t
9 getline (lineptr, n, stream)
10 char **lineptr;
11 size_t *n;
12 @@ -163,7 +163,7 @@
13 return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
16 -int
17 +ssize_t
18 getline_safe (lineptr, n, stream, limit)
19 char **lineptr;
20 size_t *n;
21 --- cvs-1.11.23/lib/getline.h 2005-04-04 22:46:05.000000000 +0200
22 +++ cvs-1.11.23/lib/getline.h.old 2008-06-03 19:06:27.000000000 +0200
23 @@ -11,9 +11,9 @@
25 #define GETLINE_NO_LIMIT -1
27 -int
28 +ssize_t
29 getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
30 -int
31 +ssize_t
32 getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
33 int limit));
34 int