delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/23/20:48:31

From: condict AT opengroup DOT org (Michael Condict)
Subject: Re: Picking up include directories automatically
23 May 1997 20:48:31 -0700 :
Sender: mail AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705212123.RAA13147.cygnus.gnu-win32@postman.opengroup.org>
X-Authentication-Warning: postman.opengroup.org: Host hare.osf.org [130.105.7.99] didn't use HELO protocol
Original-To: "Mikey" <*jeffdb AT netzone DOT nospam DOT com>
Original-cc: "JP Shipherd" <jp AT nuancecom DOT com>,
"cygnus gnu-win32 mailing list" <gnu-win32 AT cygnus DOT com>,
condict AT opengroup DOT org
In-reply-to: Your message of "Mon, 19 May 1997 12:22:01 PDT."
<199705210042 DOT RAA21924 AT nz1 DOT netzone DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In message <199705210042 DOT RAA21924 AT nz1 DOT netzone DOT com>, you write:
> How about putting export /c/dir because you mounted c:\\ to /c
> which was my point in the first place YOU DON'T NEED //

Exactly.  Or you could just use "export /dir", if you've mounted c:
under /, which is the default, after all.  But the mount command
doesn't mind that you mount c: twice, once under / and again under
/c.  I've done this for consistency.  Also, whenever I want to refer to
a networked drive, I mount it somewhere first.  Usually I just mount the
drive letter I've mapped it to:

	mount g: /g

In any case, I agree 100% with you that "//" is dangerous because any
UNIX program that notices it will think it's equivalent to "/" and may
feel free to delete one of the slashes.

For similar reasons "c:/..." paths are dangerous.  Unix programs will
assume that this is a relative pathname, not an absolute one, and may
even create files in the wrong place.

The other reason I never use "//" or "c:/" paths is that bash can't
do file-name completion on such names.  This is a fixable bug, I
guess, but why bother.

Michael Condict			m DOT condict AT opengroup DOT org
The Open Group Research Inst.	(617) 621-7349
11 Cambridge Center
Cambridge, MA 02142
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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