projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regex: test for buffer overrun
[gnulib.git]
/
lib
/
getline.c
diff --git
a/lib/getline.c
b/lib/getline.c
index
c8c9244
..
0b3e1b4
100644
(file)
--- a/
lib/getline.c
+++ b/
lib/getline.c
@@
-1,5
+1,5
@@
/* getline.c --- Implementation of replacement getline function.
/* getline.c --- Implementation of replacement getline function.
- Copyright (C) 2005
, 2006
Free Software Foundation, Inc.
+ Copyright (C) 2005
-2007, 2009-2013
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-12,16
+12,13
@@
General Public License for more details.
You should have received a copy of the GNU General Public License
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Simon Josefsson. */
#include <config.h>
/* Written by Simon Josefsson. */
#include <config.h>
-#include "getdelim.h"
-#include "getline.h"
+#include <stdio.h>
ssize_t
getline (char **lineptr, size_t *n, FILE *stream)
ssize_t
getline (char **lineptr, size_t *n, FILE *stream)