delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/28/19:00:17

From: "fishybawb" <fishybawb AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: RHIDE 1.4 problem with malloc()
Date: Sun, 27 Aug 2000 22:33:03 +0100
Organization: BT Internet
Lines: 10
Message-ID: <8oelrf$ele$1@uranium.btinternet.com>
NNTP-Posting-Host: host213-1-135-103.btinternet.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.
I tried allocating a block of memory using malloc(), and then storing the
contents of a simple text file in it.  I then printed the contents of the
memory block out, but the output were corrupted when I ran the program
through RHIDE's "run" command - running the executable from the command line
works fine.  Is this a known problem?  Thanks.

Rob.


- Raw text -


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