delorie.com/archives/browse.cgi | search |
Date: | Tue, 29 Aug 2000 08:33:50 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | fishybawb <fishybawb AT hotmail DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: RHIDE 1.4 problem with malloc() |
In-Reply-To: | <8oelrf$ele$1@uranium.btinternet.com> |
Message-ID: | <Pine.SUN.3.91.1000829083321.25491D-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sun, 27 Aug 2000, fishybawb wrote: > 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? It's not a known problem, most probably it's a bug in your code. If you cannot figure this out, post here the shortest program which exhibits this behavior.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |