On 4-8-2012 4:16, Jim Kueneman wrote: > http://lazarus.freepascal.org/index.php/topic,17705.0.html
IIRC that thread lead to the following report: http://bugs.freepascal.org/view.php?id=21665 and several fixes. Currently the Mac related fixes have not been merged back to the fixes branch, but I hope they will, and thus will make it to 2.6.2 in fall. Try (darwin only!) function real_tcflush(fd,qsel: cint): cint; cdecl; external name 'tcflush'; Function TCFlush(fd,qsel:cint):cint; {$ifdef VER2_0}inline;{$endif} begin TCFlush:=real_tcflush(fd,qsel); end; and call that as SerialCheck(TCFlush(FHandle, TCIOFLUSH)); ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public