Mercurial > vim
comparison src/proto/charset.pro @ 32098:39f4126d2a0d v9.0.1380
patch 9.0.1380: CTRL-X on 2**64 subtracts two
Commit: https://github.com/vim/vim/commit/5fb78c3fa5c996c08a65431d698bd2c251eef5c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 4 20:47:39 2023 +0000
patch 9.0.1380: CTRL-X on 2**64 subtracts two
Problem: CTRL-X on 2**64 subtracts two. (James McCoy)
Solution: Correct computation for large number. (closes https://github.com/vim/vim/issues/12103)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 Mar 2023 22:00:03 +0100 |
parents | c0a9bc376b54 |
children | 65e7eaf68f19 |
comparison
equal
deleted
inserted
replaced
32097:79439f353fa0 | 32098:39f4126d2a0d |
---|---|
62 char_u *skiptowhite(char_u *p); | 62 char_u *skiptowhite(char_u *p); |
63 char_u *skiptowhite_esc(char_u *p); | 63 char_u *skiptowhite_esc(char_u *p); |
64 long getdigits(char_u **pp); | 64 long getdigits(char_u **pp); |
65 long getdigits_quoted(char_u **pp); | 65 long getdigits_quoted(char_u **pp); |
66 int vim_isblankline(char_u *lbuf); | 66 int vim_isblankline(char_u *lbuf); |
67 void vim_str2nr(char_u *start, int *prep, int *len, int what, varnumber_T *nptr, uvarnumber_T *unptr, int maxlen, int strict); | 67 void vim_str2nr(char_u *start, int *prep, int *len, int what, varnumber_T *nptr, uvarnumber_T *unptr, int maxlen, int strict, int *overflow); |
68 int hex2nr(int c); | 68 int hex2nr(int c); |
69 int hexhex2nr(char_u *p); | 69 int hexhex2nr(char_u *p); |
70 int rem_backslash(char_u *str); | 70 int rem_backslash(char_u *str); |
71 void backslash_halve(char_u *p); | 71 void backslash_halve(char_u *p); |
72 char_u *backslash_halve_save(char_u *p); | 72 char_u *backslash_halve_save(char_u *p); |