diff options
author | Thomas Osterried <thomas@osterried.de> | 2009-03-19 23:46:29 +0000 |
---|---|---|
committer | Thomas Osterried <thomas@osterried.de> | 2009-03-19 23:46:29 +0000 |
commit | 4823b5828d4c7842f86d13fb9479c6e23ef0a0f5 (patch) | |
tree | 571ee04368187a4158ee7930b3235025705e3a86 /autogen.sh | |
parent | d2454220ccfcd42fd47b42e7de5ce8e709d2ea90 (diff) |
call writes messages to stdout using printf(). it writes data
from the ax25 connection using write(0). everything was fine
as long as call wrote to stdout.
If instead we use output redirection to a file or stdout
(> foo, | bar), then the messages like "Connected to.." appeared
at the end of the connection.
I guess it's a glibc issue that printf (whih is buffered) behaves
different when stdout is redirected.
Fixed using fflush() after each printf().
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions