delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/29/10:43:09

From: "HPMAN" <mwa DOT p AT infonie DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Problem Fixed ;-p
Date: Sat, 29 Apr 2000 17:20:08 +0200
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 18
Message-ID: <957021808.749523@romulus.infonie.fr>
NNTP-Posting-Host: romulus.infonie.fr
X-Trace: vulcain.infosources.fr 957021587 8316 195.242.64.111 (29 Apr 2000 15:19:47 GMT)
X-Complaints-To: abuse AT infonie DOT fr
NNTP-Posting-Date: 29 Apr 2000 15:19:47 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Cache-Post-Path: romulus.infonie.fr!unknown AT 195 DOT 242 DOT 67 DOT 85
X-Cache: nntpcache 2.4.0b3 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi !
That's me again !!

Well, I found out the problem :
I was writing in an allocated buffer using fread(&buffer... instead of
fread(buffer...

What makes me wrong is that the program was crashing later, when using
fwrite(buffer... which is correct !

I just upgraded my old 16-bit compiler to DJGPP, so I tought it could me
some know issue, but it was all my fault !!!

I guess coding at 4:00 AM don't produce good code... :)

Anyway, thanks for people who helped !!!


- Raw text -


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