Dash:
[t2.git] / package / develop / cvs / getline.patch
blobc48dd199cdfb4bb0974580e006110add49c4b6e9
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../cvs/getline.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -ur .1/cvs-1.11.23/lib/getline.c .2/cvs-1.11.23/lib/getline.c
18 --- cvs-1.11.23/lib/getline.c 2009-08-29 23:44:17.202448640 +0200
19 +++ cvs-1.11.23/lib/getline.c 2009-08-29 23:41:42.000000000 +0200
20 @@ -155,7 +155,7 @@
23 int
24 -getline (lineptr, n, stream)
25 +my_getline (lineptr, n, stream)
26 char **lineptr;
27 size_t *n;
28 FILE *stream;
29 diff -ur .1/cvs-1.11.23/lib/getline.h .2/cvs-1.11.23/lib/getline.h
30 --- cvs-1.11.23/lib/getline.h 2009-08-29 23:44:07.426330066 +0200
31 +++ cvs-1.11.23/lib/getline.h 2009-08-29 23:38:25.000000000 +0200
32 @@ -12,7 +12,7 @@
33 #define GETLINE_NO_LIMIT -1
35 int
36 - getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
37 + my_getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
38 int
39 getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
40 int limit));