Mercurial > vim
view src/proto/farsi.pro @ 10974:7d735b86f764 v8.0.0376
patch 8.0.0376: size computations in spell file reading are off
commit https://github.com/vim/vim/commit/6d3c8586fc81b022e9f06c611b9926108fb878c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 15:27:23 2017 +0100
patch 8.0.0376: size computations in spell file reading are off
Problem: Size computations in spell file reading are not exactly right.
Solution: Make "len" a "long" and check with LONG_MAX.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Feb 2017 15:30:03 +0100 |
parents | 9b048dced116 |
children |
line wrap: on
line source
/* farsi.c */ int fkmap(int c); char_u *lrswap(char_u *ibuf); char_u *lrFswap(char_u *cmdbuf, int len); char_u *lrF_sub(char_u *ibuf); int cmdl_fkmap(int c); int F_isalpha(int c); int F_isdigit(int c); int F_ischar(int c); void farsi_f8(cmdarg_T *cap); void farsi_f9(cmdarg_T *cap); /* vim: set ft=c : */