From 57587a545401ef97842d2062cb3085eb9c4a23e4 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 9 Jun 2020 05:52:30 +0000 Subject: [PATCH] fixed a minor glitch in bin/t03.c --- mio/bin/t03.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mio/bin/t03.c b/mio/bin/t03.c index 3b1d4d4..2b3729a 100644 --- a/mio/bin/t03.c +++ b/mio/bin/t03.c @@ -155,7 +155,7 @@ int main (int argc, char* argv[]) rem = 0; - while (1) + while (!feof(stdin)) { int x; size_t size = fread(&buf[rem], 1, sizeof(buf) - rem, stdin);