summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/winf.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-02-01 12:37:51 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-02-01 12:37:51 +0000
commitc69d873f31440e6887288d38a9d009451874efd8 (patch)
tree15de668547cd00773aa7e1aae3d6181a6e1cc52e /winsup/cygwin/winf.cc
parent1597484cb589da409832f64db94c8ac79ccf468c (diff)
downloadcygnal-c69d873f31440e6887288d38a9d009451874efd8.tar.gz
cygnal-c69d873f31440e6887288d38a9d009451874efd8.tar.bz2
cygnal-c69d873f31440e6887288d38a9d009451874efd8.zip
* string.h: Re-enable inline strcasematch and strncasematch
implementations and rename to ascii_strcasematch/ascii_strncasematch. * dcrt0.cc: Replace str[n]casematch with ascii_str[n]casematch where applicable. * environ.cc: Ditto. * fhandler_process.cc: Ditto. * hookapi.cc: Ditto. * path.cc: Ditto. * spawn.cc: Ditto. * strace.cc: Ditto. * syscalls.cc: Ditto. * uinfo.cc: Ditto. * winf.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/winf.cc')
-rw-r--r--winsup/cygwin/winf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winf.cc b/winsup/cygwin/winf.cc
index 81c58db4f..924e60403 100644
--- a/winsup/cygwin/winf.cc
+++ b/winsup/cygwin/winf.cc
@@ -141,7 +141,7 @@ av::unshift (const char *what, int conv)
{
cygwin_conv_to_posix_path (what, buf);
char *p = strchr (buf, '\0') - 4;
- if (p > buf && strcasematch (p, ".exe"))
+ if (p > buf && ascii_strcasematch (p, ".exe"))
*p = '\0';
what = buf;
}