moraes@CS.TORONTO.EDU (Mark Moraes) (10/06/89)
Finally got around to putting the following bugfix made by Martin Friedmann <martin@citi.umich.edu> into the tar file on cs.toronto.edu (128.100.1.65) in pub/X/ and expo.lcs.mit.edu (18.30.0.212) in contrib/. For those who don't want to ftp all 1.5M again, and who missed Martin's earlier posting to the list, here's the one line change that causes Xhp programs like xwebster to dump core sometimes when the titlebar is changed (especially on RISC machines -- they're more sensitive to stack garbage) Thanks again, Marty. For those compiling Xhp on MIPS boxes, note that some files under some versions of the MIPS compilers may cause the compiler to dump core. In that case, turn off -O when compiling... *** TitleBar.c~ Sat May 6 00:09:18 1989 --- TitleBar.c Thu Jul 27 16:10:22 1989 *************** *** 2041,2047 **** new->titlebar.string = s; } SetSTextArgs(new,args); ! XtSetValues(new->titlebar.text,args,24); flag |= TRUE; } --- 2041,2047 ---- new->titlebar.string = s; } SetSTextArgs(new,args); ! XtSetValues(new->titlebar.text,args,23); flag |= TRUE; } No more coredumps on a sun3. I'll try on the sun4 and the other machines here. Marty.
martin@CITI.UMICH.EDU (Martin Friedmann) (10/06/89)
thanks mark.