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 User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Eric Blake 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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? !/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/