>>>>> "Daragh" == Daragh McDonnell <[EMAIL PROTECTED]> writes:

Daragh> Dear LyX Developers, I have encountered a bug when compiling
Daragh> LyX 1.0 PR6 on a HP-UX platform.

Daragh> The line in spellchecker.C causing the problem is

Daragh> retval = select(pipeout[0]+1, &infds, 0, 0, &tv);
[...]
Daragh> I assumed that, since fd_set has only a single member,
Daragh> fds_bits, that this is the value to be passed as the second
Daragh> argument to the function "select"

Daragh> So, I modified line 335 of spellchecker.C as follows:

Daragh> retval = select(pipeout[0]+1, (int *)infds.fds_bits, 0, 0,
Daragh> &tv);

That's funny that you come up with that, because autoconf 2.13, just
out last week, has support for doing just that. However, since
changing autoconf version might be a bit dangerous, I propose that we
wait until after 1.0.0 to change the configuration mechanism to add
proper support for select. 

Anyway, it seems that the fix you used is the right one.

JMarc

Reply via email to