comparison src/proto/charset.pro @ 27784:bfce04a99561 v8.2.4418

patch 8.2.4418: crash when using special multi-byte character Commit: https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 19 11:20:12 2022 +0000 patch 8.2.4418: crash when using special multi-byte character Problem: Crash when using special multi-byte character. Solution: Don't use isalpha() for an arbitrary character.
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Feb 2022 12:30:04 +0100
parents 9f7568104726
children 057c26b5c33a
comparison
equal deleted inserted replaced
27783:59ce43efd4be 27784:bfce04a99561
48 int vim_isdigit(int c); 48 int vim_isdigit(int c);
49 int vim_isxdigit(int c); 49 int vim_isxdigit(int c);
50 int vim_isbdigit(int c); 50 int vim_isbdigit(int c);
51 int vim_islower(int c); 51 int vim_islower(int c);
52 int vim_isupper(int c); 52 int vim_isupper(int c);
53 int vim_isalpha(int c);
53 int vim_toupper(int c); 54 int vim_toupper(int c);
54 int vim_tolower(int c); 55 int vim_tolower(int c);
55 char_u *skiptowhite(char_u *p); 56 char_u *skiptowhite(char_u *p);
56 char_u *skiptowhite_esc(char_u *p); 57 char_u *skiptowhite_esc(char_u *p);
57 long getdigits(char_u **pp); 58 long getdigits(char_u **pp);
61 int hex2nr(int c); 62 int hex2nr(int c);
62 int hexhex2nr(char_u *p); 63 int hexhex2nr(char_u *p);
63 int rem_backslash(char_u *str); 64 int rem_backslash(char_u *str);
64 void backslash_halve(char_u *p); 65 void backslash_halve(char_u *p);
65 char_u *backslash_halve_save(char_u *p); 66 char_u *backslash_halve_save(char_u *p);
66 void ebcdic2ascii(char_u *buffer, int len);
67 /* vim: set ft=c : */ 67 /* vim: set ft=c : */