This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I first agreed to this, but I then tried the following test case:
int main (int argc, char **argv) { printf ("\n"); /* Does not work when there is only one printf. */ printf ("\nhello\n\n\n\n\n\n\n\nee\nee\n\n\n\nee\n\n\n\n\n\n"); }
So flushes are already sometimes done together.
Note: The second printf compacts the write only if there was already a non-empty printf before. I guess it depends on whether a buffer has already been allocated or not.
File a bug? http://sources.redhat.com/bugzilla/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |