home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 9033 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.0 KB  |  26 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!sun-barr!ames!haven.umd.edu!darwin.sura.net!udel!rochester!cornell!batcomputer!tasha.cheme.cornell.edu!elan
  3. From: elan@tasha.cheme.cornell.edu (Elan Feingold)
  4. Subject: fclose() messes up heap
  5. Message-ID: <1992Sep3.210532.22036@tc.cornell.edu>
  6. Lines: 13
  7. Sender: news@tc.cornell.edu
  8. Nntp-Posting-Host: tasha.cheme.cornell.edu
  9. Reply-To: elan@tasha.cheme.cornell.edu (Elan Feingold)
  10. Organization: Cornell University
  11. Date: Thu, 3 Sep 1992 21:05:32 GMT
  12.  
  13.  
  14. In a program I'm writing, after I fclose() a file, it seems to mess up the free space of the core, and I'm really not sure why.  It seems that this sequence of events messes up the memory.
  15.  
  16. 1. Open file
  17. 2. Allocate and deallocate memory
  18. 3. Close file
  19.  
  20. I know that you're all going to say that I have a bad pointer or something, but I don't think that this is the case (although it might be...). I'm using BC2.0.  Is there any reported bugs with fclose, or does anyone have any similar experiences?  Thanks, very much,
  21.  
  22.  ESF 
  23.  
  24. --
  25.  
  26.