delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/18/13:35:13

Date: Fri, 18 Aug 2000 20:37:42 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
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: <fadqpscd8dj2q2la9jbojdvuou9a9283vl@4ax.com> (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> <fadqpscd8dj2q2la9jbojdvuou9a9283vl AT 4ax DOT com>
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

> From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
> 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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019