On Wed, 10 Apr 2002, Mikhael Goikhman wrote:
>
> Here are my suggestions.
>
> If you want to port, subscribe to fvwm-workers list.
>
> Start with an empty fvwmrc file: fvwm2 -f no-fvwmrc

I was doing that already and no help.

>
> Debug libs/fvwmsignal.c functions. It seems that fvwmSelect (a wrapper
> for select) does not work as expected on QNX, but I can only guess.


thanks for the hint. I tracked down to the invalid fdwidth that is
passed to the fvwmSelect.
I then looked at the function GetFdWidth() in the libs/System.c
and fixed it by this:

--- System.c.orig       Sun Jan 23 07:06:33 2000
+++ System.c    Wed Apr 10 11:56:45 2002
@@ -26,6 +26,10 @@
 #endif
 #include <sys/stat.h>

+#if HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+

 /*
 ** just in case...

The include of select.h brings in the FD_SETSIZE (on qnx, it is 32)
and now the "min" in the GetFdWidth actually works and I am getting
32 rather than 512 as the fdwidth.

Everything is working now.
Thanks!
Frank

>
> Regards,
> Mikhael.
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to [EMAIL PROTECTED]
> To report problems, send mail to [EMAIL PROTECTED]
>

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to