Angus Leeming <[EMAIL PROTECTED]> writes:
| Attached is a patch to LyXComm:read_ready that enables the
| LyXServer to work coherently with Tru64 unix. It's little more
| than a clean-up of the existing code and does not change the
| resulting string passed to the LyXServer /at all/.
|
| It transpires that the root of the problems lies in
|
| int select(
| int nfds,
| fd_set *readfds,
| fd_set *writefds,
| fd_set *exceptfds,
| struct timeval *timeout) ;
|
| that lies at the heart of fl_watch_io. The Tru64 version behaves
| differently to that on Linux boxes, returning a +ve value if a
| pipe is not connected "at both ends", ie by a read and a write
| file descriptor.
|
| I'll apply this patch if no-one says not to.
I am sure that this patch is ok... but it very hard to see what the
actuall changes are.
--
Lgb