FVWM: FvwmConsole patch for everybody(B

From: Toshi Isogai(B <toshi_isogai_at_Maxtor.com>
Date: Thu, 9 May 1996 14:24:00 -0600 (MDT)

FvwmConsole in 2.0.42 distribution has a bug (what a surprise). Even if it is
working currently for you, I suggest you apply this patch since the bug was
not allocating enough memory to variables.

This patch should also help some of machines you could not run FvwmConsole on
before. I confirmed it ran on SunOS 4.1.4 and Sparc Solaris 2.3.

I am currently working on a module FvwmCommand, which let user to issue fvwm
commands from shell or perl, or many other things. I have a prototype
working. It has the same code stem as in FvwmConsole, so any comments or
running confirmation will be appreciated. Although I can't answer anything
from 10th through 19th.

Happy fvwming.

----------------patch begin----------------
diff FvwmConsole-dist/FvwmConsole.c FvwmConsole/FvwmConsole.c
60c60
< if( ( eargv =(char **)safemalloc((argc-2)*sizeof(char *)) ) == NULL )
{
---
>   if( ( eargv =(char **)safemalloc((argc+12)*sizeof(char *)) ) == NULL 
) {
---------------patch end-------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Toshi Isogai   $_at_0k3-MxL@(J
-- I am an ASIC engineer, not a sick engineer --
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
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 Thu May 09 1996 - 15:31:20 BST

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