Possible bug in "setvbuf" in QNX 6.3

We have a program that uses “setvbuf” to force unbuffered mode
for stdin. This was done because, for programs executing in the IDE
under 6.21, “isatty()” is false, and so standard input is unbuffered.
So you don’t get output until the buffer fills. So the workaround
is to call “setvbuf” in your program.

This works in 6.21, but in 6.3, output is buffered and prompts
don’t work, even in a terminal window.

Searching Google for “setvbuf bug” turns up many references
to related problems, so this may be a known GCC library
problem.

[Target: gcc_ntox86].

John Nagle
Team Overbot