diff options
Diffstat (limited to 'contrib/cvs/src/myndbm.c')
-rw-r--r-- | contrib/cvs/src/myndbm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/cvs/src/myndbm.c b/contrib/cvs/src/myndbm.c index f674ac1..7795f66 100644 --- a/contrib/cvs/src/myndbm.c +++ b/contrib/cvs/src/myndbm.c @@ -211,7 +211,8 @@ mydbm_load_file (fp, list) value = xmalloc (value_allocated); cont = 0; - while ((line_length = getstr (&line, &line_size, fp, '\012', 0)) >= 0) + while ((line_length = + getstr (&line, &line_size, fp, '\012', 0, GETLINE_NO_LIMIT)) >= 0) { if (line_length > 0 && line[line_length - 1] == '\012') { |