This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: possible wasted memory in list_read.c


On Sat, Apr 17, 2004 at 11:48:46AM -0700, Steve Kargl wrote:
> Bud, Paul,
> 
> The following patch removes a possible abuse of memory.
> It appears the saved_length is doubled, but then the
> actual allocation of memory is 4 times the amount of the
> original saved_length.
> 

Forget the patch.  I think I know what is going on, but
it sure would have been nice to have comment in the code.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]