mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Include "getdelim2.h", not "getstr.h".
Reflect renaming: getstr -> getdelim2.
This commit is contained in:
1 parent
5fdac01e0c
commit
91c698cb2f
1 file changed
+3
-3
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user