Mail Archives: djgpp/1999/11/18/06:18:44
On Tue, 16 Nov 1999, Seyil Yoon wrote:
> Whenever I run some of my programs on a DOS system, it clobbers the
> PATH environment setting. What it does, specifically, is clobber the
> 'A' in PATH. Hence, when I run a c:\>set command, I'll see something
> like:
>
> P
> TH=c:\dos;c:\djgpp\bin
Do all DJGPP programs have this effect, or only those you write? For
example, does go32-v2 or the compiler itself clobber PATH?
If only your programs do that, then it's some bug. Try to come up
with the shortest complete program that has this effect, then post its
source here.
> Now, my programs call interrupts (specifically, int 13h interrupts),
> and hence obtain low memory.
Posting the code which ``obtains low memory'' is probably a good
idea. The code which writes to that low memory might also be the
culprit, so post that as well.
- Raw text -