delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/28/13:10:47

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: fopen/fclose memory leak
28 Jul 1998 13:10:47 GMT :
Message-ID: <6pkikn$ijo$1@cronkite.cygnus.com>
References: <19980727194430 DOT 27431 DOT rocketmail DOT cygnus DOT gnu-win32 AT send1a DOT yahoomail DOT com>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <19980727194430 DOT 27431 DOT rocketmail DOT cygnus DOT gnu-win32 AT send1a DOT yahoomail DOT com>,
Earnie Boyd <earnie_boyd AT yahoo DOT com> wrote:
>Has the memory leak that was reported months ago been resolved in the
>current releases of the coolview cygwinb19.dll?
>
>Here is sample code that demonstrates the problem:
>
>#include <stdio.h>
>int main()
>{
>  while(1)
>  {
>    FILE *f=fopen("/etc/passwd","r");
>    fclose(f);
>  }
>  return 0;
>}

I don't believe that it is fixed, no.  The next version should fix this.
-- 
cgf AT cygnus DOT com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada

- Raw text -


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