Apply this patch to hatstat.c after installing the PMEG patch

Barry Lustig barry at ADS.COM
Wed Dec 5 13:00:00 AEST 1990


In article <425 at brchh104.bnr.ca> thakur at 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).



More information about the Comp.sys.sun mailing list