diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-23 14:53:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-23 14:53:34 +0100 |
commit | 48e330aff911be1c798c88a973af6437a8141fce (patch) | |
tree | 4945b46753c6220ae5e8cd406d139e5640bd39c4 /src/regexp.c | |
parent | 4e221c99e85ed40c98892068a01270b9e7492d98 (diff) | |
download | vim-git-48e330aff911be1c798c88a973af6437a8141fce.tar.gz |
patch 7.4.1399v7.4.1399
Problem: The MS-DOS code does not build.
Solution: Remove the old MS-DOS code.
Diffstat (limited to 'src/regexp.c')
-rw-r--r-- | src/regexp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/regexp.c b/src/regexp.c index 9ed5c7570..cd7dc3f22 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -1338,12 +1338,6 @@ bt_regcomp(char_u *expr, int re_flags) if (reg(REG_NOPAREN, &flags) == NULL) return NULL; - /* Small enough for pointer-storage convention? */ -#ifdef SMALL_MALLOC /* 16 bit storage allocation */ - if (regsize >= 65536L - 256L) - EMSG_RET_NULL(_("E339: Pattern too long")); -#endif - /* Allocate space. */ r = (bt_regprog_T *)lalloc(sizeof(bt_regprog_T) + regsize, TRUE); if (r == NULL) |