lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev PATCH [dev21]: source caching


From: dickey
Subject: Re: lynx-dev PATCH [dev21]: source caching
Date: Sun, 11 Apr 1999 17:53:54 -0400 (EDT)

> On Sun, 11 Apr 1999, Leonid Pauzner wrote: 
>  
> > 11-Apr-99 12:46 Scott Bigham wrote: 
>  
> > > (examines code) Wait a minute.  The declaration and definition of 
> > > free_all_texts() are wrapped in '#ifdef LY_FIND_LEAKS', but the 
> > > atexit(free_all_texts) call in HText_new() isn't.  How can that even 
> > > compile without LY_FIND_LEAKS #define'd?  [...] 
>  
> > That was the very recent changes that #define atexit to nothing 
> > to decrease shutdown time (and free_all_texts() is the main contributor), 
>  
> Eek!  That's almost certainly a bad idea. 

no - only on MSDOS is it a bad idea (good idea on Unix and VMS, since allocated
memory is returned on exit from a process).  MSDOS doesn't have separate
address spaces (nor does DJGPP implement that, apparently ;-).
  
>                                               -sbigham 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]