OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8970259
)
Add some comments.
author
cgf
<cgf>
Sun, 2 Jul 2000 02:03:50 +0000
(
02:03
+0000)
committer
cgf
<cgf>
Sun, 2 Jul 2000 02:03:50 +0000
(
02:03
+0000)
winsup/cygwin/path.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/path.cc
b/winsup/cygwin/path.cc
index
1ff1e50
..
3150ebf
100644
(file)
--- 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)
{