Re: ctwm-3.4 and Irix

From: Claude Lecommandeur (Claude.Lecommandeur@Epfl.Ch)
Date: Mon May 13 1996 - 09:26:30 CEST


> >Has anybody successfully compiled ctwm-3.4 on Irix 5.x or 6.x ?
> >I compiled it without any problems, but it keeps crashing on me.
> >It crashes as soon as it starts reading a window-list from ctwmrc.
>
> Can't answer the rest of the post, but I built 3.4 on IRIX 5.3 and
> it worked without problem..
>
> Cheers,
> Phil
> --
> Phil Knaack
> Tech Junkie / Junk Techie

    Hi,

   There is actually a bug. If the first path in your PixmapDirectory
is home relative (~/something), there is potentially a core dump.
The fix is :

*** ctwm-3.4/util.c Thu May 2 18:21:35 1996
--- ./util.c Fri May 10 13:59:28 1996
***************
*** 369,374 ****
--- 369,375 ----
        if (*p == '~') len += HomeLen - 1;
        p = colon + 1;
      }
+ if (*p == '~') len += HomeLen - 1;
      len += strlen (p);
      ret = (char*) malloc (len + 1);
      *ret = 0;

    I'll probably issue a 3.4.1 version.

   Claude.



This archive was generated by hypermail 2.1.2 : Sat Jun 22 2002 - 06:45:02 CEST