This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: Strange PWD result from "Cwd::chdir y:/dir"
- To: "David M. Karr" <dkarr at tcsi dot com>, <cygwin at sourceware dot cygnus dot com>
- Subject: RE: Strange PWD result from "Cwd::chdir y:/dir"
- From: "Andrej Borsenkow" <Andrej dot Borsenkow at mow dot siemens dot ru>
- Date: Thu, 18 Jan 2001 12:10:03 +0300
> [POPCORN;] chdirtest y:/java
> PWD[/cygdrive/d/dmk/java]
> dir[y:/java]
> PWD[/cygdrive/d/dmk/java/y:/java]
...
> The second attempt is changing to the directory "y:/java". The
> directory contents are correct, but the PWD value is screwy. Is it
> supposed to look like this, or is there something wrong here?
>
No, it is not supposed, yes, something wrong. It is a Perl bug. It does not
recognize x:/foo as an absolute path and tries to concatenate is with cwd. The
same happens with some other programs.
-andrej
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple