Re: Probs with file-entities.php.in and Cygwin

From: Date: Sun, 06 Oct 2002 21:09:56 +0000
Subject: Re: Probs with file-entities.php.in and Cygwin
References: 1 2 3 4  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349006@lists.php.net to get a copy of this message
Hi Goba, sorry for this late answer, but I simply forgot this message after I've got ill last week. Many thanks for the answer, but no, I don't have a common workaround (not even thought about it yet, but maybe when I've finished all the old tranl.-files). But I don't consider this behavior as a bug, since 'ordinary' *nix-proggies/scripts should also be able to check the whole path. Anyhow: Thanks and sorry again, Thomas Gabor Hojtsy wrote:
Well, there are some ways to get pwd return something not starting with /cygdrive... Here are the methods: | Goba@MIA ~ | $ cd d:/phpcvs | | Goba@MIA d:/phpcvs | $ pwd | d:/phpcvs | | Goba@MIA d:/phpcvs | $ cd d: | | Goba@MIA /cygdrive/d | $ cd phpcvs | | Goba@MIA /cygdrive/d/phpcvs | $ pwd | /cygdrive/d/phpcvs The first is to get to that dir with one command (see prompt and pwd output). The second is to get to a drive root and then to a directory. As you can see in the prompt and pwd output, this way, the cygdrive notation is used. This is probably a cygwin bug... If you can provide us a workaround, which works in both cases, do it please ;) Goba


« previous php.doc (#969349006) next »