Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!nic.MR.NET!thor!mike From: mike@thor.stolaf.edu (Mike Haertel) Newsgroups: comp.sources.d Subject: Re: gnu egrep - realloc of 0 bytes caused failure: Memory exhausted Summary: comments from the author Message-ID: <1193@thor.stolaf.edu> Date: 16 Feb 89 16:24:48 GMT References: <1114@rlgvax.UUCP> Reply-To: mike@wheaties.ai.mit.edu Organization: St. Olaf College; Northfield, MN Lines: 12 I found out about the realloc problem about the same time grep was posted (maybe a few days before) . . . it is fixed in the next version, and there are a few other improvements. When I finish it I will send a diff to comp.sources.unix. On an unrelated note, grep will not work on a Sun 3 if compiled with -O2 or higher optimization, or on a Sun 4 with -O (which turns out to be the same as -O2). This is definitely a bug of Sun's compiler. Use gcc . . . Mike Haertel mike@wheaties.ai.mit.edu