aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-02 02:03:50 +0000
committerChristopher Faylor <me@cgf.cx>2000-07-02 02:03:50 +0000
commitc570d680fb3ffcfc973d13e56eabd143b0940cb3 (patch)
tree0e542b60fb1d0f7854fb6fe76e1fb710d355c6a1
parentfdc7052b0f3172ade1bf2d5a27a67b9709271ba1 (diff)
downloadnewlib-c570d680fb3ffcfc973d13e56eabd143b0940cb3.zip
newlib-c570d680fb3ffcfc973d13e56eabd143b0940cb3.tar.gz
newlib-c570d680fb3ffcfc973d13e56eabd143b0940cb3.tar.bz2
Add some comments.
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 1ff1e50..3150ebf 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -2747,6 +2747,7 @@ cygwin_split_path (const char *path, char *dir, char *file)
(x != CHXOR || !isalpha (ch1))); \
})
+/* Return TRUE if two strings match up to length n */
int __stdcall
strncasematch (const char *s1, const char *s2, size_t n)
{
@@ -2763,6 +2764,7 @@ strncasematch (const char *s1, const char *s2, size_t n)
return !n || *s2 == '\0';
}
+/* Return TRUE if two strings match */
int __stdcall
strcasematch (const char *s1, const char *s2)
{