Date: Fri, 18 Aug 2000 20:37:42 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: news AT jgreen4 DOT fsnet DOT co DOT uk Message-Id: <7704-Fri18Aug2000203741+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b CC: djgpp AT delorie DOT com In-reply-to: (message from Jason Green on Fri, 18 Aug 2000 15:49:09 +0100) Subject: Re: Symify crash References: <3 DOT 0 DOT 5 DOT 32 DOT 20000813122244 DOT 007c0c00 AT pop DOT mail DOT yahoo DOT com> <3405-Sun13Aug2000163046+0300-eliz AT is DOT elta DOT co DOT il> <3996E3F4 DOT C9B37F8B AT softhome DOT net> <2593-Sun13Aug2000214525+0300-eliz AT is DOT elta DOT co DOT il> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Jason Green > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 18 Aug 2000 15:49:09 +0100 > > I've no idea if this has anything to do with the problem discussed, > but the following code from syms.c lines 362-365 does indeed show some > data which is failing to be initialised: > > syms = (SymNode *)malloc(num_syms * sizeof(SymNode)); > memset(syms, num_syms * sizeof(SymNode), 0); > files = (FileNode *)malloc(num_files * sizeof(FileNode)); > memset(files, num_files * sizeof(FileNode), 0); I must be missing something, because I don't see what's not initialized here. Care to point it out?