X-Spam-Check-By: sourceware.org Date: Tue, 7 Feb 2006 15:07:29 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: file listing incorrect in cvs head. Message-ID: <20060207140729.GF2979@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20060207 DOT 225517 DOT 193759270 DOT hashiz AT tomba DOT cskk-sv DOT co DOT jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060207.225517.193759270.hashiz@tomba.cskk-sv.co.jp> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Feb 7 22:55, HASHI Hiroaki wrote: > Hello! > > In cvs head. > > A 'readdir' function cannot listing filename that using multi-byte > charctor. (corrupt filename) > > Because, newlib's wcstombs do not support 'true' multi-byte charactor conversion. > > I made a patch for cvs head. Thanks, but the patch isn't exactly "trivial", so we would need a copyright assignment from you and, possibly, from your employer. See http://cygwin.com/contrib.html. Why isn't it sufficient just to replace wcstombs by a call to sys_wcstombs? The filename can't be longer than 255 wide chars so the result won't be longer than 255 chars, right? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/