Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <17B78BDF120BD411B70100500422FC6309E1CF@IIS000>
From: Bernard Dautrevaux <Dautrevaux@microprocess.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: RE: /bin/pwd versus built-in pwd
Date: Thu, 18 Jan 2001 09:12:12 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.com]
> Sent: Wednesday, January 17, 2001 9:43 PM
> To: cygwin@cygwin.com
> Subject: Re: /bin/pwd versus built-in pwd
> 
> 
> On Wed, Jan 17, 2001 at 10:09:06PM +0200, Ehud Karni wrote:
> >On Tue, 16 Jan 2001 14:56:23 -0800, Bob McGowan 
> <rmcgowan@veritas.com> wrote:
> >> 
> >>  "...That is, all components of the printed name will be actual
> >>   directory names -- none will be symbolic links."
> >> 
> >> I'd say this is a bug.
> >
> >Despite what Christopher Faylor <cgf@redhat.com> thinks, I'll say it
> >is a real bug with critical implications.
> 
> Huh?  I never said it wasn't a bug.  Quite the contrary.
> 
> I suggested that people read the email archives.  Look for 
> "pwd symlink".

Looked at the archive; seems like to fix a bug in find, we've add a bug in
getcwd()? :-)

> 
> >If you want to check if directories are the same, or in the 
> same branch
> >absolute paths must be used.  I have many scripts (all of 
> them working
> >on Linux and other UNIX's) that use `/bin/pwd` to get the absolute
> >path.  If the current situation is kept (i.e.  `/bin/pwd` 
> returning the
> >path the shell used to get to this directory, not the absolute one)
> >then it is a big immigration problem.
> 
> I have no idea what an "immigration problem" is but you're welcome, as
> always to submit a patch.

I think Ehud wanted to say a "migration problem", and that's exactly what
I'm afraid of for some of my scripts I have to migrate to cygwin and
probably why some complicated ones are broken there that I do not had time
to investigate ;-(

Regards,

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

