[fpc-pascal] Re: BUG:flush the serial in FPC2.6.0

2012-07-12 Thread kc87654321
good work,thinks! -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/BUG-flush-the-serial-in-FPC2-6-0-tp5710299p5710308.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist

[fpc-pascal] BUG:flush the serial in FPC2.6.0

2012-07-12 Thread kc87654321
I am trying to flush the serial incom on Linux with no success. So far I have: serial.pp in fpc 2.6.0 is SerFlush, which calls fpfsync, intended to discard input data, no work. it is patch as 0018946 but for fpc 2.4.2 no 2.6.0 http://free-pascal-general.1045716.n5.nabble.com/Unix-serial-port-han