Re: Designer on X11R5

From: George Lindholm <lindholm_at_ucs.ubc.ca>
Date: 12 Apr 93 17:31:07 GMT
Message-ID: <lindholm.734635867_at_swiss.ucs.ubc.ca>


In <C54noG.EnA_at_vistachrome.com> andy_at_vistachrome.com (Andrew Finkenstadt) writes:

>srh_at_scammell.ecos.tne.oz.au (Shane Hocking) writes:
>>Has anyone successfully run Case*Designer on a SparcStation running
>>X11R5???
>>Local Support says its not possible. I'm not so sure since a few people have
>> mentioned that a patch exists for this.
>>Regards Shane
 

>Case Designer does not run under X11R5 (or R4.9) on the currently
>supported versions. It only runs under OpenLook 3.0 or higher at
>this time.

There were two problems with running CASE*Designer with X11R5. The first was fixed with fix-17 from mit, the second one can be kludged around by applying the following patch, the problem being that CASE*Designer askes for the font "" for some silly reason which causes xalloc to allocate 0 bytes:

  • 1.1 1991/11/18 22:25:30 --- mit/server/dix/dixfonts.c 1991/11/18 22:35:04
  • 862,868 ****
      if (!(c = (LFWIclosurePtr) xalloc(sizeof *c)))
  	goto badAlloc;
!     if (!(c->current.pattern = (char *) xalloc(length)))
      {
  	xfree(c);
  	goto badAlloc;

--- 862,868 ----   
      if (!(c = (LFWIclosurePtr) xalloc(sizeof *c)))
  	goto badAlloc;
!     if (!(c->current.pattern = (char *) xalloc(length+1)))
      {
  	xfree(c);
  	goto badAlloc;

   George

-- 
George Lindholm                                  phone:    (604) 822-4375
University Computing Services, UBC               fax:      (604) 822-5116
6356 Agricultural Road, Vancouver, B.C., Canada  internet: lindholm_at_ucs.ubc.ca
V6T 1Z2                                          bitnet:   USERGNL_at_UBCMTSG
Received on Mon Apr 12 1993 - 19:31:07 CEST

Original text of this message