diff src/tag.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 2edda415c28a
line wrap: on
line diff
--- a/src/tag.c
+++ b/src/tag.c
@@ -2400,7 +2400,7 @@ parse_line:
 			      mfp2 = ((struct match_found **)
 						  (ga_match[mtt].ga_data))[i];
 			      if (mfp2->len == mfp->len
-				      && vim_memcmp(mfp2->match, mfp->match,
+				      && memcmp(mfp2->match, mfp->match,
 						       (size_t)mfp->len) == 0)
 				  break;
 			      fast_breakcheck();