fix ctype abi junk (pointer should point to 0 slot, not -128 slot)
This commit is contained in:
parent
3b94daba71
commit
908bed20cd
3 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ X(0x8c6),X(0x8c6),X(0x8c6),X(0x4c0),X(0x4c0),X(0x4c0),X(0x4c0),X(0x200),
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned short *const ptable = table;
|
static const unsigned short *const ptable = table+128;
|
||||||
|
|
||||||
const unsigned short **__ctype_b_loc(void)
|
const unsigned short **__ctype_b_loc(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ static const int32_t table[] = {
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int32_t *const ptable = table;
|
static const int32_t *const ptable = table+128;
|
||||||
|
|
||||||
const int32_t **__ctype_tolower_loc(void)
|
const int32_t **__ctype_tolower_loc(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ static const int32_t table[] = {
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int32_t *const ptable = table;
|
static const int32_t *const ptable = table+128;
|
||||||
|
|
||||||
const int32_t **__ctype_toupper_loc(void)
|
const int32_t **__ctype_toupper_loc(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue