Subject: FVWM: A little patch to 2.0.43 (bugfix)

From: Makoto MATSUSHITA <[email-masked]>
Date: Mon, 15 Jul 1996 19:13:36 +0900

Here is a little patch for 2.0.43, to fix:

* the manual of FvwmForm (maybe typo)
* FvwmIconMan which uses sysconf() (Use GetFdWidth() instead)

I use version 0.6 of FvwmIconMan to make this.

- -
Makoto `MAR_kun' MATSUSHITA

--- modules/FvwmForm/FvwmForm.man.orig	Wed Sep 27 03:14:57 1995
+++ modules/FvwmForm/FvwmForm.man	Mon Jul 15 17:25:40 1996
@@ -145,7 +145,7 @@
 .B \fImultiple\fP
 This is a multiple-choice selection.
 .TP 4
-.B *FvwmFormChoice \fIname\fP \fIvalue\fP on | off "\fIstring\fP"
+.B *FvwmFormChoice \fIname\fP \fIvalue\fP "on | off" \fIstring\fP
 Specifies a choice for a selection.
 The choice item has a \fIname\fP and a \fIvalue\fP.
 The \fIstring\fP will be displayed to the right of the choice button
--- module/FvwmForm/FvwmIconMan.c.dist	Thu Jul 11 07:24:36 1996
+++ module/FvwmForm/FvwmIconMan.c	Mon Jul 15 19:10:27 1996
@@ -6,6 +6,7 @@
 #else
 #include "../../fvwm/module.h"
 #endif
+#include "../../libs/fvwmlib.h"
 
 static int fd_width;
 static FILE *console = NULL;
@@ -196,7 +197,7 @@
   read_in_resources (argv[3]);
   
   assert (globals.managers);
-  fd_width = sysconf(_SC_OPEN_MAX);
+  fd_width = GetFdWidth();
 
   SetMessageMask(Fvwm_fd,M_CONFIGURE_WINDOW | M_RES_CLASS | M_RES_NAME |
                  M_ADD_WINDOW | M_DESTROY_WINDOW | M_ICON_NAME |
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [email-masked].
To report problems, send mail to [email-masked].