1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../cvs/getline.patch
5 # Copyright (C) 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
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
24 -getline (lineptr, n, stream)
25 +my_getline (lineptr, n, 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
33 #define GETLINE_NO_LIMIT -1
36 - getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
37 + my_getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
39 getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,