diff options
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ static char *xgetline(void) { } while (true) { - int c = getchar(); + int c = fgetc(stdin); if (c == '\n' || c == EOF) { break; } |
index : bfs.git | ||
Breadth-first version of find | Tavian Barnes <tavianator@tavianator.com> |
summaryrefslogtreecommitdiffstats |
-rw-r--r-- | util.c | 2 |
@@ -262,7 +262,7 @@ static char *xgetline(void) { } while (true) { - int c = getchar(); + int c = fgetc(stdin); if (c == '\n' || c == EOF) { break; } |