From: Jim Meyering Date: Wed, 18 Jun 2003 07:59:14 +0000 (+0000) Subject: Include "getdelim2.h", not "getstr.h". X-Git-Tag: v5.0.1~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91c698cb2fb8b8246bcead2515ca5ac8f0e2f3cf;p=thirdparty%2Fcoreutils.git Include "getdelim2.h", not "getstr.h". Reflect renaming: getstr -> getdelim2. --- diff --git a/src/cut.c b/src/cut.c index 037aa070a9..028945a52b 100644 --- a/src/cut.c +++ b/src/cut.c @@ -29,7 +29,7 @@ #include #include #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))