leak-checker: Make output line-buffered.
authorBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2009 21:37:19 +0000 (14:37 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2009 21:37:19 +0000 (14:37 -0700)
commit9d5fc7fbdf92f6e46a8e7058391dbe19ae49c672
treefa9801dfa07f68c102d879523a10f37bc416c42e
parent1c3a3d040abf0d66a7a24c354572d47e40683927
leak-checker: Make output line-buffered.

Unbuffered output was ideal from the viewpoint of getting the maximum
amount of output when the process was killed, but it causes a dozen or
more system calls per log entry.  Line buffering should be a reasonable
compromise.
lib/leak-checker.c