www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
Date: | Thu, 27 Jan 2005 10:52:07 +0300 (MSK) |
From: | "Alexander Aganichev" <aaganichev AT yandex DOT ru> |
Sender: | aaganichev AT yandex DOT ru |
Message-Id: | <41F89DA7.000026.09982@camay.yandex.ru> |
MIME-Version: | 1.0 |
X-Mailer: | Yamail [ http://yandex.ru ] |
To: | djgpp-workers AT delorie DOT com |
Subject: | Re: setlocale patch |
In-Reply-To: | <200412301137.iBUBbj5M018254@speedy.ludd.ltu.se> |
References: | <200412301137 DOT iBUBbj5M018254 AT speedy DOT ludd DOT ltu DOT se> |
X-source-ip: | 208.248.82.254 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Martin, >According to Alexander Aganichev: >> That's bad, collate table should not be all zeroes. Which OS you running on? > >Sorry. It's WINDOWS 98 (English) but with Region(al setttings?) >Sweden. Yesterday I finally get everything together and initially got into the same problem. The reason was very simple: unsigned char __dj_collate_table[256]; need to be changed to extern unsigned char __dj_collate_table[256]; Which is actually defined in src/libc/ansi/string/strcoll.c and initialized there. Attempt to set rubbish locale should not change current setting, so that's why my test software returned all zeroes initially. Please check if it is not your case. -- Alexander Aganichev
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |