1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

See ChangeLog: Mon Nov 22 11:14:53 CET 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-11-22 10:10:27 +00:00
parent cc49ea6d28
commit 7240c58160
18 changed files with 85 additions and 82 deletions

View file

@ -559,6 +559,18 @@ strlwr(char *s)
}
#endif
#ifndef HAVE_STRCASECMP
int
strcasecmp( const char *a, const char *b )
{
for( ; *a && *b; a++, b++ ) {
if( *a != *b && toupper(*a) != toupper(*b) )
break;
}
return *(const byte*)a - *(const byte*)b;
}
#endif
/****************
* mingw32/cpd has a memicmp()
*/