Commit Diff
- Commit:
04666d1a54c25c8be7e39bc628b4a80f3376c127
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- got: fflush(stdout) after asking questions Not everywhere getline does an implicit fflush, so we might end up not showing the prompt to the user. Spotted on alpine with muslc. ok Thomas Adams
- Actions:
- Patch | Tree
--- got/got.c +++ got/got.c @@ -8119,6 +8119,7 @@ show_change(unsigned char status, const char *path, FI return got_error_path(path, GOT_ERR_FILE_STATUS); } + fflush(stdout); return NULL; }