thakur@ZERKALO.HARVARD.EDU ("Manavendra K. Thakur") (09/28/90)
Donna Converse of the X Consortium has supplied the patch to xmh that I requested. For those who missed my previous message, there is a bug in gcc 1.371 that apparently causes xmh to print out extraneous numbers adjacent to the message number. I.e., msg number 411 will come out 8411 (or something similar). And when a user tries to click on that message (to read it, or whatever), xmh of course can't find the non-existent message numbered 8411. Donna's patch will fix this problem. I've enclosed a copy of the patch below. Many thanks to Donna for her speedy reply! Manavendra K. Thakur Internet: thakur@zerkalo.harvard.edu System Manager, High Energy Division BITNET: thakur@cfa.BITNET Harvard-Smithsonian Center for DECNET: CFA::thakur Astrophysics UUCP: ...!uunet!mit-eddie!thakur ===== CUT HERE ===== *** tocutil.c~ Fri Dec 15 15:20:04 1989 - --- tocutil.c Tue Apr 3 17:40:22 1990 *************** *** 576,582 **** msg->toc = toc; msg->buf = XtNewString(ptr); (void)sprintf(str, "%4d", msgid); ! for (i=0; i<4 ; i++) msg->buf[i] = str[i]; msg->buf[MARKPOS] = ' '; msg->msgid = msgid; msg->position = toc->lastPos; - --- 576,582 ---- msg->toc = toc; msg->buf = XtNewString(ptr); (void)sprintf(str, "%4d", msgid); ! for (i=4; i-- > 0 ;) msg->buf[i] = str[i]; msg->buf[MARKPOS] = ' '; msg->msgid = msgid; msg->position = toc->lastPos;
converse@EXPO.LCS.MIT.EDU (09/28/90)
> Donna's patch will fix this problem.
Actually it was originally posted to xpert by Mark Davies.