Merge pull request 'robyndrake's fix from printf to putchar in cat.c' (#1) from robyndrake/coreutils:main into main

Reviewed-on: https://codeberg.org/GRU/coreutils/pulls/1
This commit is contained in:
g1n 2021-12-23 14:46:33 +01:00
commit 92e7e3adf0
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ int main(int argc, char *argv[]){
while ((ch = fgetc(file)) != EOF)
{
printf("%c", ch);
}
putchar(ch);
}
fclose(file);
}
}