summaryrefslogtreecommitdiff
path: root/lib/libedit/search.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-04-09 20:15:27 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-04-09 20:15:27 +0000
commitfcdbfdf8477aba1fd8ec89db86623358fac6671f (patch)
tree2da4f8b44a238399087a75b98b8edd1cff9978d5 /lib/libedit/search.c
parent80a77eb7c54fcb44f04621ea71a30027fb1da8ba (diff)
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 <mbie at ulmus dot me>.
Diffstat (limited to 'lib/libedit/search.c')
-rw-r--r--lib/libedit/search.c6
1 files changed, 3 insertions, 3 deletions
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)