зеркало из https://github.com/github/ruby.git
[ruby/io-console] Use `strcasecmp`
https://github.com/ruby/io-console/commit/f8ec8a0617
This commit is contained in:
Родитель
25c2aa0a1c
Коммит
f4f8aa0f89
|
@ -1071,6 +1071,9 @@ console_scroll(VALUE io, int line)
|
|||
return io;
|
||||
}
|
||||
|
||||
#define GPERF_DOWNCASE 1
|
||||
#define GPERF_CASE_STRCMP 1
|
||||
#define gperf_case_strcmp strcasecmp
|
||||
#include "win32_vk.inc"
|
||||
|
||||
/*
|
||||
|
|
|
@ -519,7 +519,7 @@ struct vktable;
|
|||
|
||||
#ifndef GPERF_DOWNCASE
|
||||
#define GPERF_DOWNCASE 1
|
||||
static const unsigned char gperf_downcase[256] =
|
||||
static unsigned char gperf_downcase[256] =
|
||||
{
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
||||
|
|
Загрузка…
Ссылка в новой задаче