Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!enea!kth!sics!jw
From: jw@sics.se (Johan Widen)
Newsgroups: comp.sys.amiga
Subject: errata: mg2a patch: case sensitive search (+ alloca elimination)
Message-ID: <1987@sics.se>
Date: 21 Jun 88 21:13:27 GMT
Reply-To: jw@sics.se (Johan Widen)
Organization: Swedish Institute of Computer Science, Kista
Lines: 30

In an earlier article I provided a patch as described by the Subject: line.
Well, today I added some header files with function prototypes to mg. When
I recompiled I discovered that I had introduced a bug in my last patch.
The following patch should correct this. Sorry about the bug. Function
prototypes are great.

*** sysdef.h.old	Mon Jun 20 21:17:48 1988
--- sysdef.h	Tue Jun 21 22:19:16 1988
***************
*** 49,55 ****
  
  #define	bcopy(src,dest,len) movmem(src,dest,len)
  #define	bcmp(a,b,len) memcmp(a,b,len)
! #define bzero(dest, len) setmem(dest, len)
  
  #define fncmp Strcmp
  
--- 53,59 ----
  
  #define	bcopy(src,dest,len) movmem(src,dest,len)
  #define	bcmp(a,b,len) memcmp(a,b,len)
! #define bzero(dest, len) setmem(dest, len, 0)
  
  #define fncmp Strcmp
  
-- 
Johan Widen
SICS, PO Box 1263, S-164 28 KISTA, SWEDEN
Tel: +46 8 752 15 32	Ttx: 812 61 54 SICS S	Fax: +46 8 751 72 30
Internet: jw@sics.se or {mcvax,munnari,ukc,unido}!enea!sics.se!jw