X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org From: Uri Simchoni To: "cygwin AT cygwin DOT com" Date: Wed, 2 Mar 2011 06:56:06 -0500 Subject: readdir truncates file names whose UTF-8 representation is longer than 255 bytes Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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, I'm using Cygwin 1.7.7 in UTF-8 mode. I have a file whose name is composed = of Hebrew character, so the UTF-8 representation is longer than 255 charact= ers. Trying "ls -l" fails to list the file's attributes. Using a short C program that loops through a directory (readdir()/stat()) s= hows that readdir() truncates the file name. Is there any way around it? (using environment variable, fstab or system ca= ll other readdir - I want to keep UTF-8) Thanks, Uri. -- 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