[Freeciv-Dev] setvbuf on stdout instead of using fflush
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I was looking through server/console.c and noticed that we're calling
fflush(stdout) after every output. We could accomplish the same thing by
turning off the buffering on stdout with setvbuf().
Here's a small patch that changes this.
-Dan
--
Dan Gohman
gohmandj@xxxxxxxxxxx
ff.diff
Description: patch
- [Freeciv-Dev] setvbuf on stdout instead of using fflush,
Dan Gohman <=
|
|