X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: HDLzGmMVM1kFNaYbqvT1FHo204bGw6afAMpnFyhwHex0TqFDHhmL1e6..ZqNe38EQdC7CKQDgQYQu1iGozGJ3hA6AYqQoCz7tmfdtwdhTYrzkhe6lOQeVR3qTVd8WHMRTwwDkRDXkahN0wU- Date: Fri, 8 Feb 2008 01:01:01 -0300 (ART) From: Pedro Izecksohn Subject: Function stat bug when dealing with symlinks. To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <35923.67256.qm@web50111.mail.re2.yahoo.com> 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 struct stat member st_mode is wrongly being set by the stat function to regular file instead of to symlink. I packed a test for download: http://www.izecksohn.com/pedro/c/statbug/statbug.tar.gz To use it: tar -xzvf statbug.tar.gz make My configuration: bash-3.2$ uname -a CYGWIN_NT-6.0 turion 1.5.25(0.156/4/2) 2007-12-14 19:21 i686 Cygwin I'm using Windows Vista with NTFS. Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ -- 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/