2025-07-23 01:32 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002714Spring engineGeneralpublic2011-11-07 14:30
ReporterLicho 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version83.0 
Target VersionFixed in Version84.0 
Summary0002714: Spring standard output is fully buffered
DescriptionEspecially on windows, Zero-K lobby cannot get messages in real time -> text to speech breaks.

To simulate, start spring on windows and redirect standard output to file, file will be saved usually only after game ends..

Flush the damn standard output!
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0007527

Kloot (developer)

Windows sucks.

The C99 standard says:

"the standard input and standard output streams are fully buffered if and only if the stream can be determined NOT to refer to an interactive device"

"What constitutes an interactive device is implementation-defined."

Now obviously nobody starts Spring from a command-prompt window (which would be an "interactive device"), so...
+Notes

-Issue History
Date Modified Username Field Change
2011-11-07 13:51 Licho New Issue
2011-11-07 14:30 Kloot Note Added: 0007527
2011-11-07 14:30 Kloot Status new => resolved
2011-11-07 14:30 Kloot Fixed in Version => 84.0
2011-11-07 14:30 Kloot Resolution open => fixed
2011-11-07 14:30 Kloot Assigned To => Kloot
+Issue History