This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Date field of ls -l command is garbled in latest cygwin1.dll snapshot.


On Sat, 23 Jun 2018 05:39:27 +0900
Takashi Yano wrote:
> I looked into this problem, and found this is caused by incorrect
> return value of iswprint().

I have found the cause. That is, file categories.t is not correct.

For example,  http://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt
says:

3400;<CJK Ideograph Extension A, First>;Lo;0;L;;;;;N;;;;;
4DB5;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;;
...
4E00;<CJK Ideograph, First>;Lo;0;L;;;;;N;;;;;
9FEF;<CJK Ideograph, Last>;Lo;0;L;;;;;N;;;;;

However, categories.t is:
    {CAT_Lo, 0x3400, 0},
    {CAT_Lo, 0x4DB5, 0},
...
    {CAT_Lo, 0x4E00, 0},
    {CAT_Lo, 0x9FEA, 0},

Therefore, the script mkcategories which generates categories.t
should be fixed.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]