ruby/prism/util
Jean Boussier 025832c385 [ruby/prism] Use a locale-insensitive version of tolower
[Bug #21161]

The `tolower` function provided by the libc is locale dependent
and can behave in ways you wouldn't expect for some value
of `LC_CTYPE`.

e3488256b4

Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
2025-02-28 00:28:24 +00:00
..
pm_buffer.c [ruby/prism] Handle escapes in named capture names 2025-01-08 20:36:06 +00:00
pm_buffer.h [ruby/prism] Handle escapes in named capture names 2025-01-08 20:36:06 +00:00
pm_char.c [ruby/prism] Only read from buffer if size is greater than 0 2024-10-28 20:38:20 +00:00
pm_char.h [ruby/prism] Remove Debug::static_inspect 2024-05-24 17:19:33 +00:00
pm_constant_pool.c [ruby/prism] Handle zero-sized allocation in pm_constant_id_list_init_capacity 2025-02-13 20:12:43 +00:00
pm_constant_pool.h [ruby/prism] Remove various unused memsize infra 2024-05-24 17:19:34 +00:00
pm_integer.c Shrink pm_integer_t (32 bytes → 24) 2024-08-26 12:38:58 +00:00
pm_integer.h Shrink pm_integer_t (32 bytes → 24) 2024-08-26 12:38:58 +00:00
pm_list.c [ruby/prism] Make alloc interface replaceable 2024-03-04 16:40:23 +00:00
pm_list.h [ruby/prism] Make alloc interface replaceable 2024-03-04 16:40:23 +00:00
pm_memchr.c [ruby/prism] Correctly pass around const pm_encoding_t * 2023-11-30 21:37:56 -05:00
pm_memchr.h [ruby/prism] Correctly pass around const pm_encoding_t * 2023-11-30 21:37:56 -05:00
pm_newline_list.c [PRISM] Use node ids for error highlight 2024-07-11 14:25:54 -04:00
pm_newline_list.h [PRISM] Use node ids for error highlight 2024-07-11 14:25:54 -04:00
pm_string.c [ruby/prism] Fix a possible leak of a file descriptor 2024-11-28 02:15:25 +00:00
pm_string.h [ruby/prism] Stat file first to check directory 2024-09-13 19:30:57 +00:00
pm_strncasecmp.c [ruby/prism] Use a locale-insensitive version of tolower 2025-02-28 00:28:24 +00:00
pm_strncasecmp.h [ruby/prism] Fix up lint 2023-11-01 13:10:29 -04:00
pm_strpbrk.c [ruby/prism] More mixed encoding errors 2024-05-16 17:22:14 +00:00
pm_strpbrk.h [ruby/prism] Validate multibyte characters in strings 2024-02-14 01:01:37 +00:00