summaryrefslogtreecommitdiffstats
path: root/extra/cvs/cvs-1.11.23-getline.patch
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 15:25:19 +0200
committertnut <tnut at nutyx dot com>2011-10-15 15:25:19 +0200
commit48b06755f24ae4806d5b96f0d5e6c26f3662b3d7 (patch)
tree609981cbb6abc1f54953bdcbcc06cca6eb35472f /extra/cvs/cvs-1.11.23-getline.patch
parentcbc8989dce642134d4251c829a95c7871373dbb3 (diff)
downloadnutyx-pakxe-48b06755f24ae4806d5b96f0d5e6c26f3662b3d7.tar.gz
nutyx-pakxe-48b06755f24ae4806d5b96f0d5e6c26f3662b3d7.tar.bz2
nutyx-pakxe-48b06755f24ae4806d5b96f0d5e6c26f3662b3d7.tar.xz
nutyx-pakxe-48b06755f24ae4806d5b96f0d5e6c26f3662b3d7.zip
cvs dans extra
Diffstat (limited to 'extra/cvs/cvs-1.11.23-getline.patch')
-rw-r--r--extra/cvs/cvs-1.11.23-getline.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/cvs/cvs-1.11.23-getline.patch b/extra/cvs/cvs-1.11.23-getline.patch
new file mode 100644
index 000000000..99942e058
--- /dev/null
+++ b/extra/cvs/cvs-1.11.23-getline.patch
@@ -0,0 +1,34 @@
+--- cvs-1.11.23/lib/getline.c 2005-04-04 22:46:05.000000000 +0200
++++ cvs-1.11.23/lib/getline.c.old 2008-06-03 19:06:25.000000000 +0200
+@@ -154,7 +154,7 @@
+ return ret;
+ }
+
+-int
++ssize_t
+ getline (lineptr, n, stream)
+ char **lineptr;
+ size_t *n;
+@@ -163,7 +163,7 @@
+ return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
+ }
+
+-int
++ssize_t
+ getline_safe (lineptr, n, stream, limit)
+ char **lineptr;
+ size_t *n;
+--- cvs-1.11.23/lib/getline.h 2005-04-04 22:46:05.000000000 +0200
++++ cvs-1.11.23/lib/getline.h.old 2008-06-03 19:06:27.000000000 +0200
+@@ -11,9 +11,9 @@
+
+ #define GETLINE_NO_LIMIT -1
+
+-int
++ssize_t
+ getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+-int
++ssize_t
+ getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
+ int limit));
+ int