Mail Archives: djgpp/1996/04/01/19:35:33
Charles Sandmann <sandmann AT clio DOT rice DOT edu> wrote:
>> Usually the physical addresses change, which means the content of
>> uninitialized variables change.
>Exactly. Try building the app with the crt0.h flag for memory zeroing
>enabled - and see if the behavior becomes consistent. The deadbeef flag
>is particularly effective in flushing out bugs.
I have managed to fix the problem, there was a fault in the text file
being read in. I will be putting checks in to deal with this (and give
an appropriate error message). However the interesting thing is I
still don't know why it worked under the debugger. It seems that it
should not have worked in either case. I will be looking into this
further (in case it illuminates a problem with fgetpos or ftell
(although I don't expect that) and if I find anything out of the
ordinary I'll post something.
Thanks,
Malcolm
- Raw text -