> .... under FreeBSD it fails. Probably due to the pipe trick
>
> I'm still investigating.

Weird, the pipe trick should be very portable, unless there are signals
involved.
Try changing the
fpread(...) to

// pseudo code:
repeat
if fpread(...) = -1 then
not_signalled := errno = EINTR;
else
not_signalled := true;
until not_signalled;

and hope the loop doesn't get tight. but fpread should block in any case

johannes


_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to