delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/25/09:53:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 25 Oct 2011 15:52:57 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: possible bug in stat() -- not working with special characters on 64 bit systems
Message-ID: <20111025135257.GB18409@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <133e01cc9316$fbc5ce70$f3516b50$@vaultnow.com>
MIME-Version: 1.0
In-Reply-To: <133e01cc9316$fbc5ce70$f3516b50$@vaultnow.com>
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 Oct 25 07:06, Leon Vanderploeg wrote:
> I have been fighting a problem with a compiled C program and seem to have
> narrowed it down.  When file names contain special characters such as the n
> with the tilde above it (ñ), stat() works fine on 32 bit machines, but fails
> on 64 bit machines (both windows 7 and server 2008 R2).  
> 
> At the end of the this email is source code of a small test program to
> demonstrate the issue.  Of course, the C:\ directory must contain the
> Mañana.doc and Manana.doc files.  I can provide a compiled version if
> needed.  The program is compiled on Cygwin version 1.5.25, GCC version
> 3.4.4.

Please update to Cygwin 1.7.  Cygwin 1.5.25 is not supported anymore,
abd had no internationalization capabilities.


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

- Raw text -


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