Mail Archives: djgpp/1998/08/31/11:30:59
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, ®s);
>
> 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 -