crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

flush-before-read-musl.patch (229B)


      1 --- a/mkfs/mkfs.c
      2 +++ b/mkfs/mkfs.c
      3 @@ -924,6 +924,7 @@ int main(int argc, char *argv[])
      4  		}
      5  		do {
      6  			printf("\nContinue? (Y/N) ");
      7 +                       fflush(stdout);
      8  			c = getchar();
      9  
     10  			if (c == 'n' || c == 'N') {