| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 13 Jul 2012 16:31:25 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: test -f //dot |
| Message-ID: | <20120713143125.GP3406@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <500008DB DOT 9030604 AT codeplay DOT com> <CE9C056E12502146A72FD81290379E9A4362FE10 AT ENFIRHMBX1 DOT datcon DOT co DOT uk> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <CE9C056E12502146A72FD81290379E9A4362FE10@ENFIRHMBX1.datcon.co.uk> |
| User-Agent: | Mutt/1.5.21 (2010-09-15) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Jul 13 13:27, Adam Dinwoodie wrote:
> Paul Keir wrote:
> >While running configure on llvm I get a hang on:
> >
> >...
> >checking for Graphviz... echo Graphviz
> >checking for dot...
> >
> >The configure script has a line starting:
> >if { test -f "$as_dir/$ac_word$ac_exec_ext" && ...
> >
> >The problem occurs when $as_dir is /
> >
> >test -f //dot
>
> This will be to do with how Windows and Linux handle UNC paths. On Windows and Cygwin, //dot refers to a network share called "dot". On Linux (or at least the
> RHEL6.2 system I just checked) //dot is a different way of expressing /dot.
>
> On RHEL:
>
> # mkdir /dot
> # [[ /dot -ef //dot ]] && echo They look the same to me
> They look the same to me
>
> On Cygwin:
>
> $ mkdir /dot
> $ [[ /dot -ef //dot ]] || echo "But Cygwin thinks they're different"
> But Cygwin thinks they're different
>
> >...also hangs (at least 15 mins.). I tested it on Linux and another-
> >cygwin machine, and test returns promptly there.
>
> So what's the difference between the two Cygwin setups? The versions of
> cygwin1.dll are probably most useful, although bear in mind "x worked with some
> old version of Cygwin" tends to gather little sympathy unless the behaviour is
> clearly a bug -- this isn't. At least to me.
Neither in terms of POSIX compatibility. See the next to last paragraph
of the "Pathname Resolution" chapter in the Open Group specs:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_12
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |