Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
59c86292
Commit
59c86292
authored
Sep 04, 2001
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
parents
fa6b84fd
c693464e
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
172 additions
and
110 deletions
+172
-110
Docs/manual.texi
Docs/manual.texi
+3
-0
include/raid.h
include/raid.h
+1
-1
libmysql/Makefile.am
libmysql/Makefile.am
+1
-1
libmysql_r/Makefile.am
libmysql_r/Makefile.am
+1
-1
myisam/mi_check.c
myisam/mi_check.c
+1
-1
myisam/mi_dynrec.c
myisam/mi_dynrec.c
+1
-1
mysql-test/r/isam.result
mysql-test/r/isam.result
+10
-0
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+10
-0
mysql-test/t/isam.test
mysql-test/t/isam.test
+19
-0
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+20
-0
sql/log_event.cc
sql/log_event.cc
+9
-9
strings/ctype-euc_kr.c
strings/ctype-euc_kr.c
+48
-48
strings/ctype-sjis.c
strings/ctype-sjis.c
+48
-48
No files found.
Docs/manual.texi
View file @
59c86292
...
@@ -46707,6 +46707,9 @@ not yet 100% confident in this code.
...
@@ -46707,6 +46707,9 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.42
@appendixsubsec Changes in release 3.23.42
@itemize @bullet
@itemize @bullet
@item
@item
Fixed problem with @code{REPAIR TABLE} on MyISAM tables with row lengths
between 65517 - 65520 bytes
@item
Fixed rare hang when doing @code{mysqladmin shutdown} when there was
Fixed rare hang when doing @code{mysqladmin shutdown} when there was
a lot of activity in other threads.
a lot of activity in other threads.
@item
@item
include/raid.h
View file @
59c86292
...
@@ -33,7 +33,7 @@ const char *my_raid_type(int raid_type);
...
@@ -33,7 +33,7 @@ const char *my_raid_type(int raid_type);
}
}
#endif
#endif
#if
def USE_RAID
#if
defined(USE_RAID) && !defined(DONT_USE_RAID)
#ifdef __GNUC__
#ifdef __GNUC__
#pragma interface
/* gcc class implementation */
#pragma interface
/* gcc class implementation */
...
...
libmysql/Makefile.am
View file @
59c86292
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# This file is public domain and comes with NO WARRANTY of any kind
# This file is public domain and comes with NO WARRANTY of any kind
target
=
libmysqlclient.la
target
=
libmysqlclient.la
target_defs
=
-DUNDEF_THREADS_HACK
target_defs
=
-DUNDEF_THREADS_HACK
-DDONT_USE_RAID
LIBS
=
@CLIENT_LIBS@
LIBS
=
@CLIENT_LIBS@
INCLUDES
=
-I
$(srcdir)
/../include
-I
../include
\
INCLUDES
=
-I
$(srcdir)
/../include
-I
../include
\
-I
$(srcdir)
/..
-I
$(top_srcdir)
-I
..
-I
$(srcdir)
/..
-I
$(top_srcdir)
-I
..
...
...
libmysql_r/Makefile.am
View file @
59c86292
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
target
=
libmysqlclient_r.la
target
=
libmysqlclient_r.la
target_defs
=
target_defs
=
-DDONT_USE_RAID
## LIBS = @LIBS@
## LIBS = @LIBS@
INCLUDES
=
@MT_INCLUDES@
-I
$(srcdir)
/../include
-I
../include
\
INCLUDES
=
@MT_INCLUDES@
-I
$(srcdir)
/../include
-I
../include
\
...
...
myisam/mi_check.c
View file @
59c86292
...
@@ -2480,7 +2480,7 @@ int sort_write_record(SORT_INFO *sort_info)
...
@@ -2480,7 +2480,7 @@ int sort_write_record(SORT_INFO *sort_info)
info
->
checksum
=
mi_checksum
(
info
,
sort_info
->
record
);
info
->
checksum
=
mi_checksum
(
info
,
sort_info
->
record
);
reclength
=
_mi_rec_pack
(
info
,
from
,
sort_info
->
record
);
reclength
=
_mi_rec_pack
(
info
,
from
,
sort_info
->
record
);
info
->
s
->
state
.
checksum
+=
info
->
checksum
;
info
->
s
->
state
.
checksum
+=
info
->
checksum
;
block_length
=
reclength
+
3
+
test
(
reclength
>
65532L
);
block_length
=
reclength
+
3
+
test
(
reclength
>=
(
65520
-
3
)
);
if
(
block_length
<
share
->
base
.
min_block_length
)
if
(
block_length
<
share
->
base
.
min_block_length
)
block_length
=
share
->
base
.
min_block_length
;
block_length
=
share
->
base
.
min_block_length
;
flag
=
0
;
flag
=
0
;
...
...
myisam/mi_dynrec.c
View file @
59c86292
...
@@ -178,7 +178,7 @@ static int _mi_find_writepos(MI_INFO *info,
...
@@ -178,7 +178,7 @@ static int _mi_find_writepos(MI_INFO *info,
{
{
/* No deleted blocks; Allocate a new block */
/* No deleted blocks; Allocate a new block */
*
filepos
=
info
->
state
->
data_file_length
;
*
filepos
=
info
->
state
->
data_file_length
;
if
((
*
length
=
reclength
+
3
+
test
(
reclength
>
65520
))
<
if
((
*
length
=
reclength
+
3
+
test
(
reclength
>
=
(
65520
-
3
)
))
<
info
->
s
->
base
.
min_block_length
)
info
->
s
->
base
.
min_block_length
)
*
length
=
info
->
s
->
base
.
min_block_length
;
*
length
=
info
->
s
->
base
.
min_block_length
;
else
else
...
...
mysql-test/r/isam.result
0 → 100644
View file @
59c86292
Table Op Msg_type Msg_text
test.t1 check status OK
Table Op Msg_type Msg_text
test.t1 repair status OK
Table Op Msg_type Msg_text
test.t1 check status OK
Table Op Msg_type Msg_text
test.t1 repair status OK
Table Op Msg_type Msg_text
test.t1 check status OK
mysql-test/r/myisam.result
View file @
59c86292
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 check status OK
test.t1 check status OK
Table Op Msg_type Msg_text
test.t1 check status OK
Table Op Msg_type Msg_text
test.t1 repair status OK
Table Op Msg_type Msg_text
test.t1 check status OK
Table Op Msg_type Msg_text
test.t1 repair status OK
Table Op Msg_type Msg_text
test.t1 check status OK
mysql-test/t/isam.test
0 → 100644
View file @
59c86292
#
# Test possible problem with rows that are about 65535 bytes long
#
create
table
t1
(
a
tinyint
not
null
auto_increment
,
b
blob
not
null
,
primary
key
(
a
));
let
$
1
=
100
;
while
(
$
1
)
{
eval
insert
into
t1
(
b
)
values
(
repeat
(
char
(
65
+
$
1
),
65540
-
$
1
));
dec
$
1
;
}
check
table
t1
;
repair
table
t1
;
delete
from
t1
where
(
a
&
1
);
check
table
t1
;
repair
table
t1
;
check
table
t1
;
drop
table
t1
;
mysql-test/t/myisam.test
View file @
59c86292
...
@@ -16,3 +16,23 @@ INSERT INTO t1 VALUES ('HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
...
@@ -16,3 +16,23 @@ INSERT INTO t1 VALUES ('HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
INSERT
INTO
t1
VALUES
(
'WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW'
);
INSERT
INTO
t1
VALUES
(
'WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW'
);
CHECK
TABLE
t1
;
CHECK
TABLE
t1
;
drop
table
t1
;
drop
table
t1
;
#
# Test problem with rows that are 65517-65520 bytes long
#
create
table
t1
(
a
tinyint
not
null
auto_increment
,
b
blob
not
null
,
primary
key
(
a
));
let
$
1
=
100
;
while
(
$
1
)
{
eval
insert
into
t1
(
b
)
values
(
repeat
(
char
(
65
+
$
1
),
65550
-
$
1
));
dec
$
1
;
}
check
table
t1
;
repair
table
t1
;
delete
from
t1
where
(
a
&
1
);
check
table
t1
;
repair
table
t1
;
check
table
t1
;
drop
table
t1
;
sql/log_event.cc
View file @
59c86292
...
@@ -272,24 +272,24 @@ void Log_event::print_header(FILE* file)
...
@@ -272,24 +272,24 @@ void Log_event::print_header(FILE* file)
void
Log_event
::
print_timestamp
(
FILE
*
file
,
time_t
*
ts
)
void
Log_event
::
print_timestamp
(
FILE
*
file
,
time_t
*
ts
)
{
{
struct
tm
tm_tmp
;
struct
tm
tm_tmp
,
*
res
;
if
(
!
ts
)
if
(
!
ts
)
{
{
ts
=
&
when
;
ts
=
&
when
;
}
}
#ifdef MYSQL_SERVER
#ifdef MYSQL_SERVER
localtime_r
(
ts
,
&
tm_tmp
);
res
=
localtime_r
(
ts
,
&
tm_tmp
);
#else
#else
localtime
(
ts
);
res
=
localtime
(
ts
);
#endif
#endif
fprintf
(
file
,
"%02d%02d%02d %2d:%02d:%02d"
,
fprintf
(
file
,
"%02d%02d%02d %2d:%02d:%02d"
,
tm_tmp
.
tm_year
%
100
,
res
->
tm_year
%
100
,
tm_tmp
.
tm_mon
+
1
,
res
->
tm_mon
+
1
,
tm_tmp
.
tm_mday
,
res
->
tm_mday
,
tm_tmp
.
tm_hour
,
res
->
tm_hour
,
tm_tmp
.
tm_min
,
res
->
tm_min
,
tm_tmp
.
tm_sec
);
res
->
tm_sec
);
}
}
...
...
strings/ctype-euc_kr.c
View file @
59c86292
...
@@ -85,22 +85,22 @@ uchar NEAR to_lower_euc_kr[]=
...
@@ -85,22 +85,22 @@ uchar NEAR to_lower_euc_kr[]=
'h'
,
'i'
,
'j'
,
'k'
,
'l'
,
'm'
,
'n'
,
'o'
,
'h'
,
'i'
,
'j'
,
'k'
,
'l'
,
'm'
,
'n'
,
'o'
,
'p'
,
'q'
,
'r'
,
's'
,
't'
,
'u'
,
'v'
,
'w'
,
'p'
,
'q'
,
'r'
,
's'
,
't'
,
'u'
,
'v'
,
'w'
,
'x'
,
'y'
,
'z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'x'
,
'y'
,
'z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'\200'
,
'\201'
,
'\202'
,
'\203'
,
'\204'
,
'\205'
,
'\206'
,
'\207'
,
(
uchar
)
'\200'
,(
uchar
)
'\201'
,(
uchar
)
'\202'
,(
uchar
)
'\203'
,(
uchar
)
'\204'
,(
uchar
)
'\205'
,(
uchar
)
'\206'
,(
uchar
)
'\207'
,
'\210'
,
'\211'
,
'\212'
,
'\213'
,
'\214'
,
'\215'
,
'\216'
,
'\217'
,
(
uchar
)
'\210'
,(
uchar
)
'\211'
,(
uchar
)
'\212'
,(
uchar
)
'\213'
,(
uchar
)
'\214'
,(
uchar
)
'\215'
,(
uchar
)
'\216'
,(
uchar
)
'\217'
,
'\220'
,
'\221'
,
'\222'
,
'\223'
,
'\224'
,
'\225'
,
'\226'
,
'\227'
,
(
uchar
)
'\220'
,(
uchar
)
'\221'
,(
uchar
)
'\222'
,(
uchar
)
'\223'
,(
uchar
)
'\224'
,(
uchar
)
'\225'
,(
uchar
)
'\226'
,(
uchar
)
'\227'
,
'\230'
,
'\231'
,
'\232'
,
'\233'
,
'\234'
,
'\235'
,
'\236'
,
'\237'
,
(
uchar
)
'\230'
,(
uchar
)
'\231'
,(
uchar
)
'\232'
,(
uchar
)
'\233'
,(
uchar
)
'\234'
,(
uchar
)
'\235'
,(
uchar
)
'\236'
,(
uchar
)
'\237'
,
'\240'
,
'\241'
,
'\242'
,
'\243'
,
'\244'
,
'\245'
,
'\246'
,
'\247'
,
(
uchar
)
'\240'
,(
uchar
)
'\241'
,(
uchar
)
'\242'
,(
uchar
)
'\243'
,(
uchar
)
'\244'
,(
uchar
)
'\245'
,(
uchar
)
'\246'
,(
uchar
)
'\247'
,
'\250'
,
'\251'
,
'\252'
,
'\253'
,
'\254'
,
'\255'
,
'\256'
,
'\257'
,
(
uchar
)
'\250'
,(
uchar
)
'\251'
,(
uchar
)
'\252'
,(
uchar
)
'\253'
,(
uchar
)
'\254'
,(
uchar
)
'\255'
,(
uchar
)
'\256'
,(
uchar
)
'\257'
,
'\260'
,
'\261'
,
'\262'
,
'\263'
,
'\264'
,
'\265'
,
'\266'
,
'\267'
,
(
uchar
)
'\260'
,(
uchar
)
'\261'
,(
uchar
)
'\262'
,(
uchar
)
'\263'
,(
uchar
)
'\264'
,(
uchar
)
'\265'
,(
uchar
)
'\266'
,(
uchar
)
'\267'
,
'\270'
,
'\271'
,
'\272'
,
'\273'
,
'\274'
,
'\275'
,
'\276'
,
'\277'
,
(
uchar
)
'\270'
,(
uchar
)
'\271'
,(
uchar
)
'\272'
,(
uchar
)
'\273'
,(
uchar
)
'\274'
,(
uchar
)
'\275'
,(
uchar
)
'\276'
,(
uchar
)
'\277'
,
'\300'
,
'\301'
,
'\302'
,
'\303'
,
'\304'
,
'\305'
,
'\306'
,
'\307'
,
(
uchar
)
'\300'
,(
uchar
)
'\301'
,(
uchar
)
'\302'
,(
uchar
)
'\303'
,(
uchar
)
'\304'
,(
uchar
)
'\305'
,(
uchar
)
'\306'
,(
uchar
)
'\307'
,
'\310'
,
'\311'
,
'\312'
,
'\313'
,
'\314'
,
'\315'
,
'\316'
,
'\317'
,
(
uchar
)
'\310'
,(
uchar
)
'\311'
,(
uchar
)
'\312'
,(
uchar
)
'\313'
,(
uchar
)
'\314'
,(
uchar
)
'\315'
,(
uchar
)
'\316'
,(
uchar
)
'\317'
,
'\320'
,
'\321'
,
'\322'
,
'\323'
,
'\324'
,
'\325'
,
'\326'
,
'\327'
,
(
uchar
)
'\320'
,(
uchar
)
'\321'
,(
uchar
)
'\322'
,(
uchar
)
'\323'
,(
uchar
)
'\324'
,(
uchar
)
'\325'
,(
uchar
)
'\326'
,(
uchar
)
'\327'
,
'\330'
,
'\331'
,
'\332'
,
'\333'
,
'\334'
,
'\335'
,
'\336'
,
'\337'
,
(
uchar
)
'\330'
,(
uchar
)
'\331'
,(
uchar
)
'\332'
,(
uchar
)
'\333'
,(
uchar
)
'\334'
,(
uchar
)
'\335'
,(
uchar
)
'\336'
,(
uchar
)
'\337'
,
'\340'
,
'\341'
,
'\342'
,
'\343'
,
'\344'
,
'\345'
,
'\346'
,
'\347'
,
(
uchar
)
'\340'
,(
uchar
)
'\341'
,(
uchar
)
'\342'
,(
uchar
)
'\343'
,(
uchar
)
'\344'
,(
uchar
)
'\345'
,(
uchar
)
'\346'
,(
uchar
)
'\347'
,
'\350'
,
'\351'
,
'\352'
,
'\353'
,
'\354'
,
'\355'
,
'\356'
,
'\357'
,
(
uchar
)
'\350'
,(
uchar
)
'\351'
,(
uchar
)
'\352'
,(
uchar
)
'\353'
,(
uchar
)
'\354'
,(
uchar
)
'\355'
,(
uchar
)
'\356'
,(
uchar
)
'\357'
,
'\360'
,
'\361'
,
'\362'
,
'\363'
,
'\364'
,
'\365'
,
'\366'
,
'\367'
,
(
uchar
)
'\360'
,(
uchar
)
'\361'
,(
uchar
)
'\362'
,(
uchar
)
'\363'
,(
uchar
)
'\364'
,(
uchar
)
'\365'
,(
uchar
)
'\366'
,(
uchar
)
'\367'
,
'\370'
,
'\371'
,
'\372'
,
'\373'
,
'\374'
,
'\375'
,
'\376'
,
'\377'
,
(
uchar
)
'\370'
,(
uchar
)
'\371'
,(
uchar
)
'\372'
,(
uchar
)
'\373'
,(
uchar
)
'\374'
,(
uchar
)
'\375'
,(
uchar
)
'\376'
,(
uchar
)
'\377'
,
};
};
uchar
NEAR
to_upper_euc_kr
[]
=
uchar
NEAR
to_upper_euc_kr
[]
=
...
@@ -121,22 +121,22 @@ uchar NEAR to_upper_euc_kr[]=
...
@@ -121,22 +121,22 @@ uchar NEAR to_upper_euc_kr[]=
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'\200'
,
'\201'
,
'\202'
,
'\203'
,
'\204'
,
'\205'
,
'\206'
,
'\207'
,
(
uchar
)
'\200'
,(
uchar
)
'\201'
,(
uchar
)
'\202'
,(
uchar
)
'\203'
,(
uchar
)
'\204'
,(
uchar
)
'\205'
,(
uchar
)
'\206'
,(
uchar
)
'\207'
,
'\210'
,
'\211'
,
'\212'
,
'\213'
,
'\214'
,
'\215'
,
'\216'
,
'\217'
,
(
uchar
)
'\210'
,(
uchar
)
'\211'
,(
uchar
)
'\212'
,(
uchar
)
'\213'
,(
uchar
)
'\214'
,(
uchar
)
'\215'
,(
uchar
)
'\216'
,(
uchar
)
'\217'
,
'\220'
,
'\221'
,
'\222'
,
'\223'
,
'\224'
,
'\225'
,
'\226'
,
'\227'
,
(
uchar
)
'\220'
,(
uchar
)
'\221'
,(
uchar
)
'\222'
,(
uchar
)
'\223'
,(
uchar
)
'\224'
,(
uchar
)
'\225'
,(
uchar
)
'\226'
,(
uchar
)
'\227'
,
'\230'
,
'\231'
,
'\232'
,
'\233'
,
'\234'
,
'\235'
,
'\236'
,
'\237'
,
(
uchar
)
'\230'
,(
uchar
)
'\231'
,(
uchar
)
'\232'
,(
uchar
)
'\233'
,(
uchar
)
'\234'
,(
uchar
)
'\235'
,(
uchar
)
'\236'
,(
uchar
)
'\237'
,
'\240'
,
'\241'
,
'\242'
,
'\243'
,
'\244'
,
'\245'
,
'\246'
,
'\247'
,
(
uchar
)
'\240'
,(
uchar
)
'\241'
,(
uchar
)
'\242'
,(
uchar
)
'\243'
,(
uchar
)
'\244'
,(
uchar
)
'\245'
,(
uchar
)
'\246'
,(
uchar
)
'\247'
,
'\250'
,
'\251'
,
'\252'
,
'\253'
,
'\254'
,
'\255'
,
'\256'
,
'\257'
,
(
uchar
)
'\250'
,(
uchar
)
'\251'
,(
uchar
)
'\252'
,(
uchar
)
'\253'
,(
uchar
)
'\254'
,(
uchar
)
'\255'
,(
uchar
)
'\256'
,(
uchar
)
'\257'
,
'\260'
,
'\261'
,
'\262'
,
'\263'
,
'\264'
,
'\265'
,
'\266'
,
'\267'
,
(
uchar
)
'\260'
,(
uchar
)
'\261'
,(
uchar
)
'\262'
,(
uchar
)
'\263'
,(
uchar
)
'\264'
,(
uchar
)
'\265'
,(
uchar
)
'\266'
,(
uchar
)
'\267'
,
'\270'
,
'\271'
,
'\272'
,
'\273'
,
'\274'
,
'\275'
,
'\276'
,
'\277'
,
(
uchar
)
'\270'
,(
uchar
)
'\271'
,(
uchar
)
'\272'
,(
uchar
)
'\273'
,(
uchar
)
'\274'
,(
uchar
)
'\275'
,(
uchar
)
'\276'
,(
uchar
)
'\277'
,
'\300'
,
'\301'
,
'\302'
,
'\303'
,
'\304'
,
'\305'
,
'\306'
,
'\307'
,
(
uchar
)
'\300'
,(
uchar
)
'\301'
,(
uchar
)
'\302'
,(
uchar
)
'\303'
,(
uchar
)
'\304'
,(
uchar
)
'\305'
,(
uchar
)
'\306'
,(
uchar
)
'\307'
,
'\310'
,
'\311'
,
'\312'
,
'\313'
,
'\314'
,
'\315'
,
'\316'
,
'\317'
,
(
uchar
)
'\310'
,(
uchar
)
'\311'
,(
uchar
)
'\312'
,(
uchar
)
'\313'
,(
uchar
)
'\314'
,(
uchar
)
'\315'
,(
uchar
)
'\316'
,(
uchar
)
'\317'
,
'\320'
,
'\321'
,
'\322'
,
'\323'
,
'\324'
,
'\325'
,
'\326'
,
'\327'
,
(
uchar
)
'\320'
,(
uchar
)
'\321'
,(
uchar
)
'\322'
,(
uchar
)
'\323'
,(
uchar
)
'\324'
,(
uchar
)
'\325'
,(
uchar
)
'\326'
,(
uchar
)
'\327'
,
'\330'
,
'\331'
,
'\332'
,
'\333'
,
'\334'
,
'\335'
,
'\336'
,
'\337'
,
(
uchar
)
'\330'
,(
uchar
)
'\331'
,(
uchar
)
'\332'
,(
uchar
)
'\333'
,(
uchar
)
'\334'
,(
uchar
)
'\335'
,(
uchar
)
'\336'
,(
uchar
)
'\337'
,
'\340'
,
'\341'
,
'\342'
,
'\343'
,
'\344'
,
'\345'
,
'\346'
,
'\347'
,
(
uchar
)
'\340'
,(
uchar
)
'\341'
,(
uchar
)
'\342'
,(
uchar
)
'\343'
,(
uchar
)
'\344'
,(
uchar
)
'\345'
,(
uchar
)
'\346'
,(
uchar
)
'\347'
,
'\350'
,
'\351'
,
'\352'
,
'\353'
,
'\354'
,
'\355'
,
'\356'
,
'\357'
,
(
uchar
)
'\350'
,(
uchar
)
'\351'
,(
uchar
)
'\352'
,(
uchar
)
'\353'
,(
uchar
)
'\354'
,(
uchar
)
'\355'
,(
uchar
)
'\356'
,(
uchar
)
'\357'
,
'\360'
,
'\361'
,
'\362'
,
'\363'
,
'\364'
,
'\365'
,
'\366'
,
'\367'
,
(
uchar
)
'\360'
,(
uchar
)
'\361'
,(
uchar
)
'\362'
,(
uchar
)
'\363'
,(
uchar
)
'\364'
,(
uchar
)
'\365'
,(
uchar
)
'\366'
,(
uchar
)
'\367'
,
'\370'
,
'\371'
,
'\372'
,
'\373'
,
'\374'
,
'\375'
,
'\376'
,
'\377'
,
(
uchar
)
'\370'
,(
uchar
)
'\371'
,(
uchar
)
'\372'
,(
uchar
)
'\373'
,(
uchar
)
'\374'
,(
uchar
)
'\375'
,(
uchar
)
'\376'
,(
uchar
)
'\377'
,
};
};
uchar
NEAR
sort_order_euc_kr
[]
=
uchar
NEAR
sort_order_euc_kr
[]
=
...
@@ -157,22 +157,22 @@ uchar NEAR sort_order_euc_kr[]=
...
@@ -157,22 +157,22 @@ uchar NEAR sort_order_euc_kr[]=
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'\200'
,
'\201'
,
'\202'
,
'\203'
,
'\204'
,
'\205'
,
'\206'
,
'\207'
,
(
uchar
)
'\200'
,(
uchar
)
'\201'
,(
uchar
)
'\202'
,(
uchar
)
'\203'
,(
uchar
)
'\204'
,(
uchar
)
'\205'
,(
uchar
)
'\206'
,(
uchar
)
'\207'
,
'\210'
,
'\211'
,
'\212'
,
'\213'
,
'\214'
,
'\215'
,
'\216'
,
'\217'
,
(
uchar
)
'\210'
,(
uchar
)
'\211'
,(
uchar
)
'\212'
,(
uchar
)
'\213'
,(
uchar
)
'\214'
,(
uchar
)
'\215'
,(
uchar
)
'\216'
,(
uchar
)
'\217'
,
'\220'
,
'\221'
,
'\222'
,
'\223'
,
'\224'
,
'\225'
,
'\226'
,
'\227'
,
(
uchar
)
'\220'
,(
uchar
)
'\221'
,(
uchar
)
'\222'
,(
uchar
)
'\223'
,(
uchar
)
'\224'
,(
uchar
)
'\225'
,(
uchar
)
'\226'
,(
uchar
)
'\227'
,
'\230'
,
'\231'
,
'\232'
,
'\233'
,
'\234'
,
'\235'
,
'\236'
,
'\237'
,
(
uchar
)
'\230'
,(
uchar
)
'\231'
,(
uchar
)
'\232'
,(
uchar
)
'\233'
,(
uchar
)
'\234'
,(
uchar
)
'\235'
,(
uchar
)
'\236'
,(
uchar
)
'\237'
,
'\240'
,
'\241'
,
'\242'
,
'\243'
,
'\244'
,
'\245'
,
'\246'
,
'\247'
,
(
uchar
)
'\240'
,(
uchar
)
'\241'
,(
uchar
)
'\242'
,(
uchar
)
'\243'
,(
uchar
)
'\244'
,(
uchar
)
'\245'
,(
uchar
)
'\246'
,(
uchar
)
'\247'
,
'\250'
,
'\251'
,
'\252'
,
'\253'
,
'\254'
,
'\255'
,
'\256'
,
'\257'
,
(
uchar
)
'\250'
,(
uchar
)
'\251'
,(
uchar
)
'\252'
,(
uchar
)
'\253'
,(
uchar
)
'\254'
,(
uchar
)
'\255'
,(
uchar
)
'\256'
,(
uchar
)
'\257'
,
'\260'
,
'\261'
,
'\262'
,
'\263'
,
'\264'
,
'\265'
,
'\266'
,
'\267'
,
(
uchar
)
'\260'
,(
uchar
)
'\261'
,(
uchar
)
'\262'
,(
uchar
)
'\263'
,(
uchar
)
'\264'
,(
uchar
)
'\265'
,(
uchar
)
'\266'
,(
uchar
)
'\267'
,
'\270'
,
'\271'
,
'\272'
,
'\273'
,
'\274'
,
'\275'
,
'\276'
,
'\277'
,
(
uchar
)
'\270'
,(
uchar
)
'\271'
,(
uchar
)
'\272'
,(
uchar
)
'\273'
,(
uchar
)
'\274'
,(
uchar
)
'\275'
,(
uchar
)
'\276'
,(
uchar
)
'\277'
,
'\300'
,
'\301'
,
'\302'
,
'\303'
,
'\304'
,
'\305'
,
'\306'
,
'\307'
,
(
uchar
)
'\300'
,(
uchar
)
'\301'
,(
uchar
)
'\302'
,(
uchar
)
'\303'
,(
uchar
)
'\304'
,(
uchar
)
'\305'
,(
uchar
)
'\306'
,(
uchar
)
'\307'
,
'\310'
,
'\311'
,
'\312'
,
'\313'
,
'\314'
,
'\315'
,
'\316'
,
'\317'
,
(
uchar
)
'\310'
,(
uchar
)
'\311'
,(
uchar
)
'\312'
,(
uchar
)
'\313'
,(
uchar
)
'\314'
,(
uchar
)
'\315'
,(
uchar
)
'\316'
,(
uchar
)
'\317'
,
'\320'
,
'\321'
,
'\322'
,
'\323'
,
'\324'
,
'\325'
,
'\326'
,
'\327'
,
(
uchar
)
'\320'
,(
uchar
)
'\321'
,(
uchar
)
'\322'
,(
uchar
)
'\323'
,(
uchar
)
'\324'
,(
uchar
)
'\325'
,(
uchar
)
'\326'
,(
uchar
)
'\327'
,
'\330'
,
'\331'
,
'\332'
,
'\333'
,
'\334'
,
'\335'
,
'\336'
,
'\337'
,
(
uchar
)
'\330'
,(
uchar
)
'\331'
,(
uchar
)
'\332'
,(
uchar
)
'\333'
,(
uchar
)
'\334'
,(
uchar
)
'\335'
,(
uchar
)
'\336'
,(
uchar
)
'\337'
,
'\340'
,
'\341'
,
'\342'
,
'\343'
,
'\344'
,
'\345'
,
'\346'
,
'\347'
,
(
uchar
)
'\340'
,(
uchar
)
'\341'
,(
uchar
)
'\342'
,(
uchar
)
'\343'
,(
uchar
)
'\344'
,(
uchar
)
'\345'
,(
uchar
)
'\346'
,(
uchar
)
'\347'
,
'\350'
,
'\351'
,
'\352'
,
'\353'
,
'\354'
,
'\355'
,
'\356'
,
'\357'
,
(
uchar
)
'\350'
,(
uchar
)
'\351'
,(
uchar
)
'\352'
,(
uchar
)
'\353'
,(
uchar
)
'\354'
,(
uchar
)
'\355'
,(
uchar
)
'\356'
,(
uchar
)
'\357'
,
'\360'
,
'\361'
,
'\362'
,
'\363'
,
'\364'
,
'\365'
,
'\366'
,
'\367'
,
(
uchar
)
'\360'
,(
uchar
)
'\361'
,(
uchar
)
'\362'
,(
uchar
)
'\363'
,(
uchar
)
'\364'
,(
uchar
)
'\365'
,(
uchar
)
'\366'
,(
uchar
)
'\367'
,
'\370'
,
'\371'
,
'\372'
,
'\373'
,
'\374'
,
'\375'
,
'\376'
,
'\377'
,
(
uchar
)
'\370'
,(
uchar
)
'\371'
,(
uchar
)
'\372'
,(
uchar
)
'\373'
,(
uchar
)
'\374'
,(
uchar
)
'\375'
,(
uchar
)
'\376'
,(
uchar
)
'\377'
,
};
};
/* Support for Korean(EUC_KR) characters, by powerm90@tinc.co.kr and mrpark@tinc.co.kr */
/* Support for Korean(EUC_KR) characters, by powerm90@tinc.co.kr and mrpark@tinc.co.kr */
...
...
strings/ctype-sjis.c
View file @
59c86292
...
@@ -85,22 +85,22 @@ uchar NEAR to_lower_sjis[]=
...
@@ -85,22 +85,22 @@ uchar NEAR to_lower_sjis[]=
'h'
,
'i'
,
'j'
,
'k'
,
'l'
,
'm'
,
'n'
,
'o'
,
'h'
,
'i'
,
'j'
,
'k'
,
'l'
,
'm'
,
'n'
,
'o'
,
'p'
,
'q'
,
'r'
,
's'
,
't'
,
'u'
,
'v'
,
'w'
,
'p'
,
'q'
,
'r'
,
's'
,
't'
,
'u'
,
'v'
,
'w'
,
'x'
,
'y'
,
'z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'x'
,
'y'
,
'z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'\200'
,
'\201'
,
'\202'
,
'\203'
,
'\204'
,
'\205'
,
'\206'
,
'\207'
,
(
uchar
)
'\200'
,(
uchar
)
'\201'
,(
uchar
)
'\202'
,(
uchar
)
'\203'
,(
uchar
)
'\204'
,(
uchar
)
'\205'
,(
uchar
)
'\206'
,(
uchar
)
'\207'
,
'\210'
,
'\211'
,
'\212'
,
'\213'
,
'\214'
,
'\215'
,
'\216'
,
'\217'
,
(
uchar
)
'\210'
,(
uchar
)
'\211'
,(
uchar
)
'\212'
,(
uchar
)
'\213'
,(
uchar
)
'\214'
,(
uchar
)
'\215'
,(
uchar
)
'\216'
,(
uchar
)
'\217'
,
'\220'
,
'\221'
,
'\222'
,
'\223'
,
'\224'
,
'\225'
,
'\226'
,
'\227'
,
(
uchar
)
'\220'
,(
uchar
)
'\221'
,(
uchar
)
'\222'
,(
uchar
)
'\223'
,(
uchar
)
'\224'
,(
uchar
)
'\225'
,(
uchar
)
'\226'
,(
uchar
)
'\227'
,
'\230'
,
'\231'
,
'\232'
,
'\233'
,
'\234'
,
'\235'
,
'\236'
,
'\237'
,
(
uchar
)
'\230'
,(
uchar
)
'\231'
,(
uchar
)
'\232'
,(
uchar
)
'\233'
,(
uchar
)
'\234'
,(
uchar
)
'\235'
,(
uchar
)
'\236'
,(
uchar
)
'\237'
,
'\240'
,
'\241'
,
'\242'
,
'\243'
,
'\244'
,
'\245'
,
'\246'
,
'\247'
,
(
uchar
)
'\240'
,(
uchar
)
'\241'
,(
uchar
)
'\242'
,(
uchar
)
'\243'
,(
uchar
)
'\244'
,(
uchar
)
'\245'
,(
uchar
)
'\246'
,(
uchar
)
'\247'
,
'\250'
,
'\251'
,
'\252'
,
'\253'
,
'\254'
,
'\255'
,
'\256'
,
'\257'
,
(
uchar
)
'\250'
,(
uchar
)
'\251'
,(
uchar
)
'\252'
,(
uchar
)
'\253'
,(
uchar
)
'\254'
,(
uchar
)
'\255'
,(
uchar
)
'\256'
,(
uchar
)
'\257'
,
'\260'
,
'\261'
,
'\262'
,
'\263'
,
'\264'
,
'\265'
,
'\266'
,
'\267'
,
(
uchar
)
'\260'
,(
uchar
)
'\261'
,(
uchar
)
'\262'
,(
uchar
)
'\263'
,(
uchar
)
'\264'
,(
uchar
)
'\265'
,(
uchar
)
'\266'
,(
uchar
)
'\267'
,
'\270'
,
'\271'
,
'\272'
,
'\273'
,
'\274'
,
'\275'
,
'\276'
,
'\277'
,
(
uchar
)
'\270'
,(
uchar
)
'\271'
,(
uchar
)
'\272'
,(
uchar
)
'\273'
,(
uchar
)
'\274'
,(
uchar
)
'\275'
,(
uchar
)
'\276'
,(
uchar
)
'\277'
,
'\300'
,
'\301'
,
'\302'
,
'\303'
,
'\304'
,
'\305'
,
'\306'
,
'\307'
,
(
uchar
)
'\300'
,(
uchar
)
'\301'
,(
uchar
)
'\302'
,(
uchar
)
'\303'
,(
uchar
)
'\304'
,(
uchar
)
'\305'
,(
uchar
)
'\306'
,(
uchar
)
'\307'
,
'\310'
,
'\311'
,
'\312'
,
'\313'
,
'\314'
,
'\315'
,
'\316'
,
'\317'
,
(
uchar
)
'\310'
,(
uchar
)
'\311'
,(
uchar
)
'\312'
,(
uchar
)
'\313'
,(
uchar
)
'\314'
,(
uchar
)
'\315'
,(
uchar
)
'\316'
,(
uchar
)
'\317'
,
'\320'
,
'\321'
,
'\322'
,
'\323'
,
'\324'
,
'\325'
,
'\326'
,
'\327'
,
(
uchar
)
'\320'
,(
uchar
)
'\321'
,(
uchar
)
'\322'
,(
uchar
)
'\323'
,(
uchar
)
'\324'
,(
uchar
)
'\325'
,(
uchar
)
'\326'
,(
uchar
)
'\327'
,
'\330'
,
'\331'
,
'\332'
,
'\333'
,
'\334'
,
'\335'
,
'\336'
,
'\337'
,
(
uchar
)
'\330'
,(
uchar
)
'\331'
,(
uchar
)
'\332'
,(
uchar
)
'\333'
,(
uchar
)
'\334'
,(
uchar
)
'\335'
,(
uchar
)
'\336'
,(
uchar
)
'\337'
,
'\340'
,
'\341'
,
'\342'
,
'\343'
,
'\344'
,
'\345'
,
'\346'
,
'\347'
,
(
uchar
)
'\340'
,(
uchar
)
'\341'
,(
uchar
)
'\342'
,(
uchar
)
'\343'
,(
uchar
)
'\344'
,(
uchar
)
'\345'
,(
uchar
)
'\346'
,(
uchar
)
'\347'
,
'\350'
,
'\351'
,
'\352'
,
'\353'
,
'\354'
,
'\355'
,
'\356'
,
'\357'
,
(
uchar
)
'\350'
,(
uchar
)
'\351'
,(
uchar
)
'\352'
,(
uchar
)
'\353'
,(
uchar
)
'\354'
,(
uchar
)
'\355'
,(
uchar
)
'\356'
,(
uchar
)
'\357'
,
'\360'
,
'\361'
,
'\362'
,
'\363'
,
'\364'
,
'\365'
,
'\366'
,
'\367'
,
(
uchar
)
'\360'
,(
uchar
)
'\361'
,(
uchar
)
'\362'
,(
uchar
)
'\363'
,(
uchar
)
'\364'
,(
uchar
)
'\365'
,(
uchar
)
'\366'
,(
uchar
)
'\367'
,
'\370'
,
'\371'
,
'\372'
,
'\373'
,
'\374'
,
'\375'
,
'\376'
,
'\377'
(
uchar
)
'\370'
,(
uchar
)
'\371'
,(
uchar
)
'\372'
,(
uchar
)
'\373'
,(
uchar
)
'\374'
,(
uchar
)
'\375'
,(
uchar
)
'\376'
,(
uchar
)
'\377'
};
};
uchar
NEAR
to_upper_sjis
[]
=
uchar
NEAR
to_upper_sjis
[]
=
...
@@ -121,22 +121,22 @@ uchar NEAR to_upper_sjis[]=
...
@@ -121,22 +121,22 @@ uchar NEAR to_upper_sjis[]=
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'\200'
,
'\201'
,
'\202'
,
'\203'
,
'\204'
,
'\205'
,
'\206'
,
'\207'
,
(
uchar
)
'\200'
,(
uchar
)
'\201'
,(
uchar
)
'\202'
,(
uchar
)
'\203'
,(
uchar
)
'\204'
,(
uchar
)
'\205'
,(
uchar
)
'\206'
,(
uchar
)
'\207'
,
'\210'
,
'\211'
,
'\212'
,
'\213'
,
'\214'
,
'\215'
,
'\216'
,
'\217'
,
(
uchar
)
'\210'
,(
uchar
)
'\211'
,(
uchar
)
'\212'
,(
uchar
)
'\213'
,(
uchar
)
'\214'
,(
uchar
)
'\215'
,(
uchar
)
'\216'
,(
uchar
)
'\217'
,
'\220'
,
'\221'
,
'\222'
,
'\223'
,
'\224'
,
'\225'
,
'\226'
,
'\227'
,
(
uchar
)
'\220'
,(
uchar
)
'\221'
,(
uchar
)
'\222'
,(
uchar
)
'\223'
,(
uchar
)
'\224'
,(
uchar
)
'\225'
,(
uchar
)
'\226'
,(
uchar
)
'\227'
,
'\230'
,
'\231'
,
'\232'
,
'\233'
,
'\234'
,
'\235'
,
'\236'
,
'\237'
,
(
uchar
)
'\230'
,(
uchar
)
'\231'
,(
uchar
)
'\232'
,(
uchar
)
'\233'
,(
uchar
)
'\234'
,(
uchar
)
'\235'
,(
uchar
)
'\236'
,(
uchar
)
'\237'
,
'\240'
,
'\241'
,
'\242'
,
'\243'
,
'\244'
,
'\245'
,
'\246'
,
'\247'
,
(
uchar
)
'\240'
,(
uchar
)
'\241'
,(
uchar
)
'\242'
,(
uchar
)
'\243'
,(
uchar
)
'\244'
,(
uchar
)
'\245'
,(
uchar
)
'\246'
,(
uchar
)
'\247'
,
'\250'
,
'\251'
,
'\252'
,
'\253'
,
'\254'
,
'\255'
,
'\256'
,
'\257'
,
(
uchar
)
'\250'
,(
uchar
)
'\251'
,(
uchar
)
'\252'
,(
uchar
)
'\253'
,(
uchar
)
'\254'
,(
uchar
)
'\255'
,(
uchar
)
'\256'
,(
uchar
)
'\257'
,
'\260'
,
'\261'
,
'\262'
,
'\263'
,
'\264'
,
'\265'
,
'\266'
,
'\267'
,
(
uchar
)
'\260'
,(
uchar
)
'\261'
,(
uchar
)
'\262'
,(
uchar
)
'\263'
,(
uchar
)
'\264'
,(
uchar
)
'\265'
,(
uchar
)
'\266'
,(
uchar
)
'\267'
,
'\270'
,
'\271'
,
'\272'
,
'\273'
,
'\274'
,
'\275'
,
'\276'
,
'\277'
,
(
uchar
)
'\270'
,(
uchar
)
'\271'
,(
uchar
)
'\272'
,(
uchar
)
'\273'
,(
uchar
)
'\274'
,(
uchar
)
'\275'
,(
uchar
)
'\276'
,(
uchar
)
'\277'
,
'\300'
,
'\301'
,
'\302'
,
'\303'
,
'\304'
,
'\305'
,
'\306'
,
'\307'
,
(
uchar
)
'\300'
,(
uchar
)
'\301'
,(
uchar
)
'\302'
,(
uchar
)
'\303'
,(
uchar
)
'\304'
,(
uchar
)
'\305'
,(
uchar
)
'\306'
,(
uchar
)
'\307'
,
'\310'
,
'\311'
,
'\312'
,
'\313'
,
'\314'
,
'\315'
,
'\316'
,
'\317'
,
(
uchar
)
'\310'
,(
uchar
)
'\311'
,(
uchar
)
'\312'
,(
uchar
)
'\313'
,(
uchar
)
'\314'
,(
uchar
)
'\315'
,(
uchar
)
'\316'
,(
uchar
)
'\317'
,
'\320'
,
'\321'
,
'\322'
,
'\323'
,
'\324'
,
'\325'
,
'\326'
,
'\327'
,
(
uchar
)
'\320'
,(
uchar
)
'\321'
,(
uchar
)
'\322'
,(
uchar
)
'\323'
,(
uchar
)
'\324'
,(
uchar
)
'\325'
,(
uchar
)
'\326'
,(
uchar
)
'\327'
,
'\330'
,
'\331'
,
'\332'
,
'\333'
,
'\334'
,
'\335'
,
'\336'
,
'\337'
,
(
uchar
)
'\330'
,(
uchar
)
'\331'
,(
uchar
)
'\332'
,(
uchar
)
'\333'
,(
uchar
)
'\334'
,(
uchar
)
'\335'
,(
uchar
)
'\336'
,(
uchar
)
'\337'
,
'\340'
,
'\341'
,
'\342'
,
'\343'
,
'\344'
,
'\345'
,
'\346'
,
'\347'
,
(
uchar
)
'\340'
,(
uchar
)
'\341'
,(
uchar
)
'\342'
,(
uchar
)
'\343'
,(
uchar
)
'\344'
,(
uchar
)
'\345'
,(
uchar
)
'\346'
,(
uchar
)
'\347'
,
'\350'
,
'\351'
,
'\352'
,
'\353'
,
'\354'
,
'\355'
,
'\356'
,
'\357'
,
(
uchar
)
'\350'
,(
uchar
)
'\351'
,(
uchar
)
'\352'
,(
uchar
)
'\353'
,(
uchar
)
'\354'
,(
uchar
)
'\355'
,(
uchar
)
'\356'
,(
uchar
)
'\357'
,
'\360'
,
'\361'
,
'\362'
,
'\363'
,
'\364'
,
'\365'
,
'\366'
,
'\367'
,
(
uchar
)
'\360'
,(
uchar
)
'\361'
,(
uchar
)
'\362'
,(
uchar
)
'\363'
,(
uchar
)
'\364'
,(
uchar
)
'\365'
,(
uchar
)
'\366'
,(
uchar
)
'\367'
,
'\370'
,
'\371'
,
'\372'
,
'\373'
,
'\374'
,
'\375'
,
'\376'
,
'\377'
(
uchar
)
'\370'
,(
uchar
)
'\371'
,(
uchar
)
'\372'
,(
uchar
)
'\373'
,(
uchar
)
'\374'
,(
uchar
)
'\375'
,(
uchar
)
'\376'
,(
uchar
)
'\377'
};
};
uchar
NEAR
sort_order_sjis
[]
=
uchar
NEAR
sort_order_sjis
[]
=
...
@@ -157,22 +157,22 @@ uchar NEAR sort_order_sjis[]=
...
@@ -157,22 +157,22 @@ uchar NEAR sort_order_sjis[]=
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'X'
,
'Y'
,
'Z'
,
'{'
,
'|'
,
'}'
,
'~'
,
'\177'
,
'\200'
,
'\201'
,
'\202'
,
'\203'
,
'\204'
,
'\205'
,
'\206'
,
'\207'
,
(
uchar
)
'\200'
,(
uchar
)
'\201'
,(
uchar
)
'\202'
,(
uchar
)
'\203'
,(
uchar
)
'\204'
,(
uchar
)
'\205'
,(
uchar
)
'\206'
,(
uchar
)
'\207'
,
'\210'
,
'\211'
,
'\212'
,
'\213'
,
'\214'
,
'\215'
,
'\216'
,
'\217'
,
(
uchar
)
'\210'
,(
uchar
)
'\211'
,(
uchar
)
'\212'
,(
uchar
)
'\213'
,(
uchar
)
'\214'
,(
uchar
)
'\215'
,(
uchar
)
'\216'
,(
uchar
)
'\217'
,
'\220'
,
'\221'
,
'\222'
,
'\223'
,
'\224'
,
'\225'
,
'\226'
,
'\227'
,
(
uchar
)
'\220'
,(
uchar
)
'\221'
,(
uchar
)
'\222'
,(
uchar
)
'\223'
,(
uchar
)
'\224'
,(
uchar
)
'\225'
,(
uchar
)
'\226'
,(
uchar
)
'\227'
,
'\230'
,
'\231'
,
'\232'
,
'\233'
,
'\234'
,
'\235'
,
'\236'
,
'\237'
,
(
uchar
)
'\230'
,(
uchar
)
'\231'
,(
uchar
)
'\232'
,(
uchar
)
'\233'
,(
uchar
)
'\234'
,(
uchar
)
'\235'
,(
uchar
)
'\236'
,(
uchar
)
'\237'
,
'\240'
,
'\241'
,
'\242'
,
'\243'
,
'\244'
,
'\245'
,
'\246'
,
'\247'
,
(
uchar
)
'\240'
,(
uchar
)
'\241'
,(
uchar
)
'\242'
,(
uchar
)
'\243'
,(
uchar
)
'\244'
,(
uchar
)
'\245'
,(
uchar
)
'\246'
,(
uchar
)
'\247'
,
'\250'
,
'\251'
,
'\252'
,
'\253'
,
'\254'
,
'\255'
,
'\256'
,
'\257'
,
(
uchar
)
'\250'
,(
uchar
)
'\251'
,(
uchar
)
'\252'
,(
uchar
)
'\253'
,(
uchar
)
'\254'
,(
uchar
)
'\255'
,(
uchar
)
'\256'
,(
uchar
)
'\257'
,
'\260'
,
'\261'
,
'\262'
,
'\263'
,
'\264'
,
'\265'
,
'\266'
,
'\267'
,
(
uchar
)
'\260'
,(
uchar
)
'\261'
,(
uchar
)
'\262'
,(
uchar
)
'\263'
,(
uchar
)
'\264'
,(
uchar
)
'\265'
,(
uchar
)
'\266'
,(
uchar
)
'\267'
,
'\270'
,
'\271'
,
'\272'
,
'\273'
,
'\274'
,
'\275'
,
'\276'
,
'\277'
,
(
uchar
)
'\270'
,(
uchar
)
'\271'
,(
uchar
)
'\272'
,(
uchar
)
'\273'
,(
uchar
)
'\274'
,(
uchar
)
'\275'
,(
uchar
)
'\276'
,(
uchar
)
'\277'
,
'\300'
,
'\301'
,
'\302'
,
'\303'
,
'\304'
,
'\305'
,
'\306'
,
'\307'
,
(
uchar
)
'\300'
,(
uchar
)
'\301'
,(
uchar
)
'\302'
,(
uchar
)
'\303'
,(
uchar
)
'\304'
,(
uchar
)
'\305'
,(
uchar
)
'\306'
,(
uchar
)
'\307'
,
'\310'
,
'\311'
,
'\312'
,
'\313'
,
'\314'
,
'\315'
,
'\316'
,
'\317'
,
(
uchar
)
'\310'
,(
uchar
)
'\311'
,(
uchar
)
'\312'
,(
uchar
)
'\313'
,(
uchar
)
'\314'
,(
uchar
)
'\315'
,(
uchar
)
'\316'
,(
uchar
)
'\317'
,
'\320'
,
'\321'
,
'\322'
,
'\323'
,
'\324'
,
'\325'
,
'\326'
,
'\327'
,
(
uchar
)
'\320'
,(
uchar
)
'\321'
,(
uchar
)
'\322'
,(
uchar
)
'\323'
,(
uchar
)
'\324'
,(
uchar
)
'\325'
,(
uchar
)
'\326'
,(
uchar
)
'\327'
,
'\330'
,
'\331'
,
'\332'
,
'\333'
,
'\334'
,
'\335'
,
'\336'
,
'\337'
,
(
uchar
)
'\330'
,(
uchar
)
'\331'
,(
uchar
)
'\332'
,(
uchar
)
'\333'
,(
uchar
)
'\334'
,(
uchar
)
'\335'
,(
uchar
)
'\336'
,(
uchar
)
'\337'
,
'\340'
,
'\341'
,
'\342'
,
'\343'
,
'\344'
,
'\345'
,
'\346'
,
'\347'
,
(
uchar
)
'\340'
,(
uchar
)
'\341'
,(
uchar
)
'\342'
,(
uchar
)
'\343'
,(
uchar
)
'\344'
,(
uchar
)
'\345'
,(
uchar
)
'\346'
,(
uchar
)
'\347'
,
'\350'
,
'\351'
,
'\352'
,
'\353'
,
'\354'
,
'\355'
,
'\356'
,
'\357'
,
(
uchar
)
'\350'
,(
uchar
)
'\351'
,(
uchar
)
'\352'
,(
uchar
)
'\353'
,(
uchar
)
'\354'
,(
uchar
)
'\355'
,(
uchar
)
'\356'
,(
uchar
)
'\357'
,
'\360'
,
'\361'
,
'\362'
,
'\363'
,
'\364'
,
'\365'
,
'\366'
,
'\367'
,
(
uchar
)
'\360'
,(
uchar
)
'\361'
,(
uchar
)
'\362'
,(
uchar
)
'\363'
,(
uchar
)
'\364'
,(
uchar
)
'\365'
,(
uchar
)
'\366'
,(
uchar
)
'\367'
,
'\370'
,
'\371'
,
'\372'
,
'\373'
,
'\374'
,
'\375'
,
'\376'
,
'\377'
(
uchar
)
'\370'
,(
uchar
)
'\371'
,(
uchar
)
'\372'
,(
uchar
)
'\373'
,(
uchar
)
'\374'
,(
uchar
)
'\375'
,(
uchar
)
'\376'
,(
uchar
)
'\377'
};
};
#define issjishead(c) ((0x81<=(c) && (c)<=0x9f) || \
#define issjishead(c) ((0x81<=(c) && (c)<=0x9f) || \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment