forked from mirrors/tftp-hpa-google
doesn't flush by default, so the prompt is never printed
https://gitlab.alpinelinux.org/alpine/aports/-/blob/3.21-stable/main/tftp-hpa/fix-prompt-flush.patch
This commit is contained in:
parent
37ac880897
commit
1dd16bc0df
1 changed files with 1 additions and 0 deletions
|
@ -806,6 +806,7 @@ static void command(void)
|
|||
exit(0); /* EOF */
|
||||
#else
|
||||
fputs(prompt, stdout);
|
||||
fflush(stdout);
|
||||
if (fgets(line, LBUFLEN, stdin) == 0) {
|
||||
if (feof(stdin)) {
|
||||
exit(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue