diff src/search.c @ 10430:37a441352da2 v8.0.0109

commit https://github.com/vim/vim/commit/b129a447f3b580d4c941869672b0557c52c37e4d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 1 17:25:20 2016 +0100 patch 8.0.0109 Problem: Still checking if memcmp() exists while every system should have it now. Solution: Remove vim_memcmp(). (James McCoy, closes https://github.com/vim/vim/issues/1295)
author Christian Brabandt <cb@256bit.org>
date Thu, 01 Dec 2016 17:30:05 +0100
parents 154d5a2e7395
children 8f6df2f6d2fc
line wrap: on
line diff
--- a/src/search.c
+++ b/src/search.c
@@ -1695,7 +1695,8 @@ searchc(cmdarg_T *cap, int t_cmd)
 		}
 		else
 		{
-		    if (vim_memcmp(p + col, lastc_bytes, lastc_bytelen) == 0 && stop)
+		    if (memcmp(p + col, lastc_bytes, lastc_bytelen) == 0
+								       && stop)
 			break;
 		}
 		stop = TRUE;