summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/os2/dl_os2.c
diff options
context:
space:
mode:
authorafresh1 <afresh1@openbsd.org>2021-03-01 23:19:42 +0000
committerafresh1 <afresh1@openbsd.org>2021-03-01 23:19:42 +0000
commit56d68f1e19ff848c889ecfa71d3a06340ff64892 (patch)
tree272372e9e82dd675d06054187c7f04b32fe71acc /gnu/usr.bin/perl/os2/dl_os2.c
parentImport perl-5.32.1 (diff)
downloadwireguard-openbsd-56d68f1e19ff848c889ecfa71d3a06340ff64892.tar.xz
wireguard-openbsd-56d68f1e19ff848c889ecfa71d3a06340ff64892.zip
Fix merge issues, remove excess files - match perl-5.32.1 dist
OK sthen@
Diffstat (limited to 'gnu/usr.bin/perl/os2/dl_os2.c')
-rw-r--r--gnu/usr.bin/perl/os2/dl_os2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/os2/dl_os2.c b/gnu/usr.bin/perl/os2/dl_os2.c
index 76fa9dc42d9..f15c465f621 100644
--- a/gnu/usr.bin/perl/os2/dl_os2.c
+++ b/gnu/usr.bin/perl/os2/dl_os2.c
@@ -121,7 +121,7 @@ dlopen(const char *path, int mode)
/* Not found. Check for non-FAT name and try truncated name. */
/* Don't know if this helps though... */
for (beg = dot = path + strlen(path);
- beg > path && !strchr(":/\\", *(beg-1));
+ beg > path && !memCHRs(":/\\", *(beg-1));
beg--)
if (*beg == '.')
dot = beg;