delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/28/02:35:03

X-Spam-Check-By: sourceware.org
Message-ID: <4683569A.2040208@pacific.net.sg>
Date: Thu, 28 Jun 2007 10:35:06 +0400
From: Erich Dollansky <oceanare AT pacific DOT net DOT sg>
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
To: Eric Blake <ebb9 AT byu DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: Problem with stat
References: <46808EA8 DOT 2030202 AT pacific DOT net DOT sg> <4680DD73 DOT 8090300 AT sh DOT cvut DOT cz> <4680E3A0 DOT 3020508 AT pacific DOT net DOT sg> <4680FE40 DOT 7010102 AT byu DOT net> <46810D24 DOT 9000303 AT pacific DOT net DOT sg> <46810FAA DOT 5050508 AT byu DOT net>
In-Reply-To: <46810FAA.5050508@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Erich Dollansky on 6/26/2007 6:57 AM:
>>    if (stat ("/usr/X11R6/share/doc/lesstif-0.94.4/html/Lessdox", &Stat)
>> == 0)
>>    {
>>       printf ("Mode: %lX\n", (unsigned long) Stat.st_mode);
>>       if (S_ISDIR (Stat.st_mode))
>>          printf ("Directory flag is set.\n");
>>
>> The result is the same as before.
> 
is is right that the link is pointing to itself resulting in an endless 
loop?

!<symlink>/usr/X11R6/share/doc/lesstif-0.94.4/html

Or is it an installation error?

Erich

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019