[fpc-devel]f_setown / f_getown
Peter Vreman
peter at freepascal.org
Thu Aug 2 19:51:20 CEST 2001
At 18:50 2-8-01, you wrote:
>I found a bug in the rtl for linux.
>
>The constant f_setown sould be equal to 8 and f_getown should be 9.
>
>The values are swapped according to the c headers in
>/usr/include/bits/fcntl.h:
>
>F_SETOWN 8
>F_GETOWN 9
>
>The comments are mistaken. I am writing a sockets program with fpc and the
>constants in the libraries are bad, the ritht values are 8 for set and 9
>for get.
Thanks for the report. It was already fixed in the snapshots.
Peter
More information about the fpc-devel
mailing list