Date: Sun, 19 Apr 1998 14:28:26 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: John Doe <treeman AT goodnet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: I need some help, I am having a hella of a time with Rhide...and DJGPP
In-Reply-To: <01bd6af7$7ae2eb40$51878cd1@rihqdcee>
Message-ID: <Pine.SUN.3.91.980419142802.23362T-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Precedence: bulk


On 18 Apr 1998, John Doe wrote:

> Most of the time they DON'T work, but if I run the same program 2 times in
> a row, it works fine... :(
[snip]
>       fwrite(testing, sizeof(testing), 1, fp);

This statement writes the POINTER to the structure, not the structure
itself.  This probably isn't what you want.