diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-18 07:59:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-18 07:59:14 +0000 |
commit | 91c698cb2fb8b8246bcead2515ca5ac8f0e2f3cf (patch) | |
tree | 49293ab3bb2ec406dbee3af8e1739e3f43ec2a3e /src | |
parent | 5fdac01e0cb48871daf3fd97df8ccedeedbd755c (diff) | |
download | coreutils-91c698cb2fb8b8246bcead2515ca5ac8f0e2f3cf.tar.xz |
Include "getdelim2.h", not "getstr.h".
Reflect renaming: getstr -> getdelim2.
Diffstat (limited to 'src')
-rw-r--r-- | src/cut.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ #include <getopt.h> #include <sys/types.h> #include "system.h" -#include "getstr.h" +#include "getdelim2.h" #include "closeout.h" #include "error.h" @@ -493,8 +493,8 @@ cut_fields (FILE *stream) int len; size_t n_bytes; - len = getstr (&field_1_buffer, &field_1_bufsize, stream, - delim, '\n', 0); + len = getdelim2 (&field_1_buffer, &field_1_bufsize, stream, + delim, '\n', 0); if (len < 0) { if (ferror (stream) || feof (stream)) |