delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/27/21:19:24

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: fopen/fclose memory leak
27 Jul 1998 21:19:24 -0700 :
Message-ID: <19980727194430.27431.rocketmail.cygnus.gnu-win32@send1a.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Cc: gw32 <gnu-win32 AT cygnus DOT com>

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;
}

==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd AT yahoo DOT com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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