delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/23/10:08:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Subject: 1.3.2: isspace/ctype problem cause to prevent from accessing non-ascii(8-bit) file
or directorys
Reply-To: "=?euc-kr?B?wMzA57Hm?=" <jackee AT lge DOT com>
From: "=?euc-kr?B?wMzA57Hm?=" <jackee AT lge DOT com>
To: cygwin AT cygwin DOT com
Cc:
Message-ID: <OF4D4B391C.D9B6F8FC-ON49256AB1.004D5806@lge.com>
Date: Thu, 23 Aug 2001 23:04:49 +0900
X-MIMETrack: Serialize by Router on LGEKRHQMS05/LGE/LG Group(Release 5.07a |May 14, 2001) at
2001/08/23 11:04:59 PM
MIME-Version: 1.0

Recently, I've installed cygwin 1.3.2 on windows ME.

I'm trying to port some application for korean locale, and discovered
problem
in accessing directories or files in korean characters.

At first, the problem is found in 'chdir()'.
After I call chdir("XX"), actually it was called in bash(see cd.def file in
source tree)
"XX" will be changed to "X", where "XX" is korean directory name.
This problem is caused from the fix which was done by Christopher Faylor.
Next is revision history about that fix(in version 1.3.1)

   - Fix behavior of chdir when called with a path containing trailing
spaces.
     (Christopher Faylor)

Actually, this fix is not a real problem. The problem is korean character
is
recognized
in negative integer, so, ((_ctype_+1)[c] & _S)  access invalid entry.

It must be fully investigated that the way of using isXXXXXX() macros.

Simillar problem was seen in 'readdir', ....
And I need to comple all the applications(ls, dir, bash, vim, and so
force).

This is real problem.

Does anyone have an answer for it.

Regards.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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