diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-17 13:16:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-17 13:16:53 +0000 |
commit | 7f814a5e96818df9868290f21713c58fdd0c07ff (patch) | |
tree | 8ed63fb88b3a4d47671ab6c2350de86f8b60da8e /src | |
parent | ee47cc09f6ed2acf17c90663acb92b5a468bdf9f (diff) | |
download | coreutils-7f814a5e96818df9868290f21713c58fdd0c07ff.tar.xz |
(cut_fields): Adjust to new signature of getndelim2.
Diffstat (limited to 'src')
-rw-r--r-- | src/cut.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -580,8 +580,8 @@ cut_fields (FILE *stream) ssize_t len; size_t n_bytes; - len = getndelim2 (&field_1_buffer, &field_1_bufsize, SIZE_MAX, - stream, delim, '\n', 0); + len = getndelim2 (&field_1_buffer, &field_1_bufsize, 0, + GETNLINE_NO_LIMIT, delim, '\n', stream); if (len < 0) { free (field_1_buffer); |