www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/24/23:35:24

To: djgpp AT delorie DOT com
Subject: Re: RHIDE crashes without traceback. [solved!]
References: <B0000098901 AT stargate DOT astr DOT lu DOT lv> <vKLv3.3329$ei1 DOT 7063 AT newsfeeds DOT bigpond DOT com> <37C19B65 DOT 4AFE6D2D AT NortelNetworks DOT com> <37c2b0f9 DOT 53258404 AT newsserver DOT cc DOT monash DOT edu DOT au> <37C2CFE5 DOT FD0ABDDC AT NortelNetworks DOT com>
From: Michael Bukin <M DOT A DOT Bukin AT inp DOT nsk DOT su>
Date: 25 Aug 1999 07:17:37 +0700
In-Reply-To: "Campbell, Rolf [SKY:1U32:EXCH]"'s message of "Tue, 24 Aug 1999 13:01:25 -0400"
Message-ID: <20d7wcn272.fsf@Sky.inp.nsk.su>
Lines: 28
X-Mailer: Gnus v5.5/Emacs 19.34
Reply-To: djgpp AT delorie DOT com

"Campbell, Rolf [SKY:1U32:EXCH]" <cp1v45 AT NortelNetworks DOT com> writes:

> Open Notepad.  Try to open "\\foo".  You will get a quick responce that it
> can't be opened.
> Try to open "C:\\foo" and it will wait for at least 5 seconds before telling
> you that it can't be opened.

Maybe you don't have "Client for Microsoft Networks" in network
settings and filenames which look like UNC are rejected immediately?

For me, opening \\foo and c:\/foo in Notepad has the same delay,
opening c:\\foo returns immediately with error "this filename is not
valid".  Perhaps there is some code for rejecting invalid filenames
without passing them to the system, but not very good.  Otherwise,
delay is (almost) the same.

E:\TEMP>redir -t ls \\foo
d:/comp/djgpp/bin/ls: //foo: No such file or directory (ENOENT)
Elapsed time: 8.630 seconds

E:\TEMP>redir -t ls c:\\foo
d:/comp/djgpp/bin/ls: c://foo: No such file or directory (ENOENT)
Elapsed time: 8.620 seconds

On other computer, connected to Ethernet, delay was about 5 seconds.

-- 
Michael Bukin

- Raw text -


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