delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/28/16:45:47

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: gah AT ugcs DOT caltech DOT edu (glen herrmannsfeldt)
Newsgroups: comp.lang.c,comp.os.msdos.djgpp,comp.compilers.lcc
Subject: Re: hash library - interface criticisms
Date: 28 Jan 2002 21:35:56 GMT
Organization: California Institute of Technology, Pasadena
Lines: 21
Message-ID: <a34g7s$119@gap.cco.caltech.edu>
References: <3C4ADB8E DOT 552CAE40 AT yahoo DOT com> <a2esv3$10teia$1 AT ID-97861 DOT news DOT dfncis DOT de> <3C4B0ED1 DOT 3F274F98 AT is DOT elta DOT co DOT il> <3c4f46b4$1 AT news DOT alcatel DOT com>
NNTP-Posting-Host: seniti.ugcs.caltech.edu
X-Newsreader: NN version 6.5.0 #1 (NOV)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

jmccarty AT sun1307 DOT ssd DOT usa DOT alcatel DOT com (Mike Mccarty Sr) writes:

(snip)
Someone wrote:

>)Btw, a program should not need to free its heap before it exits.  The OS
>)will take care about it.

>This is completely OS dependent. Some OS will do that, and some will
>not.

True.  But a good protected mode OS pretty much requires this, or it
will have many memory management problems.  For an OS that doesn't
support memory protection, this is just one more thing not to 
protect against.

I remember in early versions of VAX/VMS you could rename directories
into themselves.  Without protection against this, disk blocks will
disapear, which is what happened.  

-- glen

- Raw text -


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