delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/31/11:30:59

Date: Mon, 31 Aug 1998 17:28:10 +0200 (MET DST)
From: Olivier Perron <perron AT art DOT alcatel DOT fr>
Reply-To: Olivier Perron <perron AT art DOT alcatel DOT fr>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: Computer freeze when using latest version of vim and bash as inferior shell
In-Reply-To: <Pine.SUN.3.91.980831170123.24142H-100000@is>
Message-Id: <Pine.GSO.3.96.980831161939.2658E-100000@rtbsci145s>
Mime-Version: 1.0

On Mon, 31 Aug 1998, Eli Zaretskii wrote:

> 
> On Mon, 31 Aug 1998, Olivier Perron wrote:
> 
> > It is the dpmi_int call at line 120 of patched truename.c (patch PTF0018)
> > which hanged.
> 
> I don't remember the patches by number. Is this the place that hangs?
> 
>  lfn_retry:
>   regs.x.ds = regs.x.es = __tb_segment;
>   regs.x.si = __tb_offset;
>   regs.x.di = __tb_offset + MAX_TRUE_NAME;
>   __dpmi_int(0x21, &regs);
> 
> If it is, then could you please see if it hangs on the second retry, 
> after the call with CX=2 failed, or on the first?
> 
Well, it is on the first call.
But not on the first try, ie x://ls, x:/ls, x://ls.com, x:/ls.com where
first tried without hang. But then comes x://ls.exe which triggs the hang.


> Does the test program at the end of truename.c also hang for you on drive 
> X:?  Does it hang on other drives?
> 
truename X:\ls reports X:\LS

truename X:\\ls reports folowing error message (in french) after, say,
30 secondes: Not possible to find specified computer name in network path

truename X:\\ls.exe hangs (after waiting 3 minutes, I stated that it has
hang)

> > I did rebuild the patched stat.c with patches PTF0013 abd PTF0248. If I 
> > run the test program, I always have the following answer:
> > DOS 7.10 (MS-DOS)
> 
> You need to run the test program like this:
> 
> 	stat 0 foo
> 
> where foo is the name of the file you want to stat.  In your case, try 
> "stat 0 X:/ls" and see if it hangs.  The zero *must* be used as the first 
> argument, or the program won't work.
> 
stat 0 X:/ls works and reports:
	DOS 7.10 (MS-DOS)
	X:/ls: lossage: No such file or directory (ENOENT)
	Everything checks out OK

stat 0 X://ls reports same thing but takes a bit more time to answer.

stat 0 X://lx.exe reports: DOS 7.10 (MSDOS) and then seems to hang...

> > X is a net drive and is declared in the PATH as X:\ by the system
> > administartor.
> 
> Net drive are a nemesis of stat and _truename...  Do you know what kind 
> of network software is used to mount drive X:?
> 
Something like Microsoft Systems Management Server, NetWare.



- Raw text -


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