FVWM: Bool != Boolean

From: Chris Siebenmann <cks_at_hawkwind.utcs.toronto.edu>
Date: Mon, 13 Apr 1998 18:58:02 -0400

 Compiling fvwm2 on a SGI Irix machine, I discovered a small mistake in
the fvwm2 code: it incorrectly assumes that a Bool is the same as a
Boolean, by declaring the same variable as 'Bool' in some places and as
'Boolean' in others. The simple fix:

--- 1.1 1998/04/13 21:42:34
+++ fvwm/fvwm.c 1998/04/13 21:42:59
_at_@ -83,9 +83,10 @@
 int JunkX = 0, JunkY = 0;
 Window JunkRoot, JunkChild; /* junk window */
 unsigned int JunkWidth, JunkHeight, JunkBW, JunkDepth, JunkMask;
 
-Boolean debugging = False,PPosOverride,Blackout = False;
+Boolean debugging = False, Blackout = False;
+Bool PPosOverride;
 
 char **g_argv;
 int g_argc;
 

 I believe this mistake can cause mysterious memory corruption and/or
core dumps in some situations.

        - cks
--
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 majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Apr 13 1998 - 17:58:33 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST