|
Message-ID: <CAEfvv4+qGgm+RuJNnurBW1yOErftNUrvDE1HuwKvUNyU6P936g@mail.gmail.com> Date: Thu, 21 Feb 2019 10:09:03 -0500 From: James Larrowe <larrowe.semaj11@...il.com> To: musl@...ts.openwall.com Subject: fgets() doesn't call fsync() before getting input I'm writing a program that prints a dialogue to the screen and then asks for input. In musl, the dialogue does not show before fgets() is called, however in glibc it does. That causes a blank prompt and also some confusion. Attached is a minimal example and a log. Content of type "text/html" skipped Download attachment "minimal-example.c" of type "application/octet-stream" (164 bytes) Download attachment "log" of type "application/octet-stream" (310 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.