Date: Tue, 29 Aug 2000 08:33:50 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: fishybawb 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.