fixed a minor glitch in bin/t03.c
This commit is contained in:
parent
b8f96c0b74
commit
57587a5454
@ -155,7 +155,7 @@ int main (int argc, char* argv[])
|
|||||||
|
|
||||||
|
|
||||||
rem = 0;
|
rem = 0;
|
||||||
while (1)
|
while (!feof(stdin))
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
size_t size = fread(&buf[rem], 1, sizeof(buf) - rem, stdin);
|
size_t size = fread(&buf[rem], 1, sizeof(buf) - rem, stdin);
|
||||||
|
Loading…
Reference in New Issue
Block a user