This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: /bin/pwd versus built-in pwd


> -----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]