Re: FVWM: fvwm2.4.6 freeze

From: Frank Liu <fliu_at_mail.vipstage.com>
Date: Wed, 10 Apr 2002 19:09:35 +0000 (GMT)

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
_at_@ -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 majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
>

--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Apr 10 2002 - 14:10:37 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST