Date: Sun, 15 Apr 2001 11:36:21 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <9003-Sun15Apr2001113620+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: Martin Str|mberg , sandmann AT clio DOT rice DOT edu In-reply-to: <200104150756.JAA28730@mother.ludd.luth.se> (message from Martin Str|mberg on Sun, 15 Apr 2001 09:56:07 +0200 (MEST)) Subject: Re: Stub trying to find COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE! References: <200104150756 DOT JAA28730 AT mother DOT ludd DOT luth DOT se> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Martin Str|mberg > Date: Sun, 15 Apr 2001 09:56:07 +0200 (MEST) > > set output: > > PATH=c:\fdos\bin;a:\ > COMSPEC=A:\COMMAND.COM > DJGPP=d:/djgpp/djgpp.env > > Dump of environment block: > > =d 3446:0 > 3446:0000 50 41 54 48 3D 63 3A 5C-66 64 6F 73 5C 62 69 6E PATH=c:\fdos\bin > 3446:0010 3B 61 3A 5C 00 43 4F 4D-53 50 45 43 3D 41 3A 5C ;a:\.COMSPEC=A:\ ^^ The stub was supposed to end the scan in load_dpmi when it sees this null character. > The sequence of truename calls for CWSDPMI.EXE: > > A:\CWSDPMI.EXE > c:\fdos\bin\CWSDPMI.EXE > a:\CWSDPMI.EXE > COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE > DJGPP=d:/djgpp/djgpp.env\CWSDPMI.EXE Obviously, it doesn't. So there's some bug in load_dpmi wrt the trailing null character of PATH= setting in the environment.