search for: s1_0

Displaying 1 result from an estimated 1 matches for "s1_0".

Did you mean: s10
1997 Jul 24
0
smbclient, tar, and exclude
...lowing s1 to match s2 ! if s1 is an "initial" string (up to directory marker). Thus, if s2 is ! a file in any subdirectory of s1, declare a match. ***************************************************************************/ ! static ! int strslashcmp(char *s1, char *s2) { + char *s1_0=s1; + while(*s1 && *s2 && (*s1 == *s2 || tolower(*s1) == tolower(*s2) *************** *** 384,389 **** --- 389,405 ---- s1++; s2++; } + /* if s1 has a trailing slash, it compared equal, so s1 is an "initial" + string of s2. + */ + if (!...