www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/18/06:18:44

Date: Thu, 18 Nov 1999 08:41:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Seyil Yoon <wings AT interlog DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Clobbering PATH
In-Reply-To: <80sg98$jfb$1@news.cpol.com>
Message-ID: <Pine.SUN.3.91.991118084124.25299K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


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