[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in the mint lib: tcflush.c



Please be aware that there's a potentially nasty bug in the current
mintlibs.  In the tcflush() function, the flushtype should be passed
to Fcntl() by reference instead of by value.

This bug should only affect mint 1.10 and greater, as previous
versions didn't have my patch to make TIOCFLUSH versatile enough to
handle the tcflush() function.

This will be fixed in the next release, which is almost ready.
If you really need tcflush() right now, stick a & in front of the
flushtype, where's its passed to Fcntl() and recompile.

Cheers,
entropy

--
entropy -- it's not just a good idea, it's the second law.
Personal mail:      entropy@gnu.ai.mit.edu
MiNT library mail:  entropy@terminator.rs.itd.umich.edu
"what do you have against octal?" -jrb