commit | b129a447f3b580d4c941869672b0557c52c37e4d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 01 17:25:20 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 01 17:25:20 2016 +0100 |
tree | 8f21d9d1f0f3fd42e4bf5d203c280a44b166d0a8 | |
parent | 65e08ee1d26aa7bf341ac0e0400839d696d1ab64 [diff] [blame] |
patch 8.0.0109 Problem: Still checking if memcmp() exists while every system should have it now. Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
diff --git a/src/search.c b/src/search.c index cedcad9..36410e5 100644 --- a/src/search.c +++ b/src/search.c
@@ -1695,7 +1695,8 @@ } 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;