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

2012-07-12 Thread Mark Morgan Lloyd
kc87654321 wrote: 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/

[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