mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(do_stdin): Reflect changes in use of readtoken.
This commit is contained in:
1 parent
865123bcc5
commit
8def27a37e
1 file changed
+3
-5
+3
-5
@@ -175,11 +175,9 @@ do_stdin (void)
|
||||
|
||||
for (;;)
|
||||
{
|
||||
long int token_length;
|
||||
|
||||
token_length = readtoken (stdin, DELIM, sizeof (DELIM) - 1,
|
||||
&tokenbuffer);
|
||||
if (token_length < 0)
|
||||
size_t token_length = readtoken (stdin, DELIM, sizeof (DELIM) - 1,
|
||||
&tokenbuffer);
|
||||
if (token_length == (size_t) -1)
|
||||
break;
|
||||
fail |= print_factors (tokenbuffer.buffer);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user