From 48e330aff911be1c798c88a973af6437a8141fce Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 23 Feb 2016 14:53:34 +0100 Subject: patch 7.4.1399 Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code. --- src/regexp.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/regexp.c') 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) -- cgit v1.2.1