Date: Thu, 18 Nov 1999 08:41:51 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Seyil Yoon cc: djgpp AT delorie DOT com Subject: Re: Clobbering PATH In-Reply-To: <80sg98$jfb$1@news.cpol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.