Sfoglia il codice sorgente

* fixed deprecated

git-svn-id: trunk@7717 -
marco 18 anni fa
parent
commit
0ef2cb0b02
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      rtl/unix/serial.pp

+ 1 - 1
rtl/unix/serial.pp

@@ -80,7 +80,7 @@ end;
 
 procedure SerFlush(Handle: TSerialHandle);
 begin
-  fsync(Handle);
+  fpfsync(Handle);
 end;
 
 function SerRead(Handle: TSerialHandle; var Buffer; Count: LongInt): LongInt;