From fcdbfdf8477aba1fd8ec89db86623358fac6671f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 9 Apr 2016 20:15:27 +0000 Subject: Delete 26 wrapper macros and two wrapper functions that are no longer needed now that we always compile with wide character support, reducing code obfuscation. OK czarkoff@ martijn@. Diff also proofread by Christian Heckendorf . --- lib/libedit/search.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libedit/search.c') diff --git a/lib/libedit/search.c b/lib/libedit/search.c index 15ab6acbadd..4b5948314d6 100644 --- a/lib/libedit/search.c +++ b/lib/libedit/search.c @@ -1,5 +1,5 @@ -/* $OpenBSD: search.c,v 1.21 2016/04/09 19:31:55 schwarze Exp $ */ -/* $NetBSD: search.c,v 1.40 2016/03/23 22:27:48 christos Exp $ */ +/* $OpenBSD: search.c,v 1.22 2016/04/09 20:15:26 schwarze Exp $ */ +/* $NetBSD: search.c,v 1.41 2016/04/09 18:43:17 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -118,7 +118,7 @@ el_match(const Char *str, const Char *pat) extern int re_exec(const char *); #endif - if (Strstr(str, pat) != 0) + if (wcsstr(str, pat) != 0) return 1; #if defined(REGEX) -- cgit v1.2.3