lesstif mwm bug
Harold Hunt
huntharo@msu.edu
Wed May 8 01:01:00 GMT 2002
Chris,
> >Now I found the reason of the bug. Whereas fd_width is 256,
> FD_SETSIZE (the
> >number of bits in fd_set variables) is only 64, so that select()
> tests for
> >unpredictable file descriptors from 64 to 255. For mwm, as x_fd has low
> >values, it will be sufficient to limit fd_width in mwm.c:
> >if(fd_width > FD_SETSIZE) fd_width = FD_SETSIZE;
> >More generally, the value of FD_SETSIZE in
> /usr/include/sys/types.h should
> >be increased (as the comments say, to >= NOFILE from param.h)!
>
> You can set this up yourself if it is important to you. Just define
> FD_SETSIZE before including sys/types.h.
>
> cgf
I tried that. It did not fix the problem. :(
I am now trying Hans Werner Strube's idea. You'll know if his patch works
if a new lesstif package gets released in the next 20 minutes.
Harold
More information about the Cygwin-xfree
mailing list