Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: barry@ADS.COM (Barry Lustig) Newsgroups: comp.sys.sun Subject: Re: Apply this patch to hatstat.c after installing the PMEG patch Keywords: Source Message-ID: <614@brchh104.bnr.ca> Date: 5 Dec 90 02:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 26 Approved: Sun-Spots@rice.edu X-Original-Date: Tue, 27 Nov 90 12:56:19 -0800 X-Sun-Spots-Digest: Volume 9, Issue 389, message 1 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu In article <425@brchh104.bnr.ca> thakur@zerkalo.harvard.edu (Manavendra K. Thakur) writes: [Sun-spots readers: hatstat is a program Sun is sending out for sites wishing to test whether they need the PMEG patches or not. Apparently, just about everyone needs the PMEG patches!] You can modify one line in hatstat.c and it will continue to work after you install the pmeg patches. Here is the patch: *** hatstat.c Fri Nov 9 18:02:49 1990 --- hat41.c Fri Nov 9 18:31:40 1990 *************** *** 27,31 **** struct nlist nl[] = { #define N_HATCNT 0 ! { "_hatcnt" }, #define N_PMGRPFREE 1 { "_pmgrpfree" }, --- 27,31 ---- struct nlist nl[] = { #define N_HATCNT 0 ! { "_cnt" }, #define N_PMGRPFREE 1 { "_pmgrpfree" }, For those without source, just run emacs on the hatstat binary and change _hatcnt to _cnt\0\0\0 (that is cnt followed by 3 NULLS).