mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* fileutil.c (compare_filenames): Replaced stricmp by strcasecmp.
* miscutil.c (answer_is_yes_no_quit,answer_is_yes_no_default): Ditto. * strgutil.c (strncasecmp): New. (memicmp): Removed.
This commit is contained in:
parent
09e732361a
commit
eb1057be7c
4 changed files with 23 additions and 19 deletions
|
@ -153,7 +153,7 @@ compare_filenames( const char *a, const char *b )
|
|||
abuf = gstrans(a);
|
||||
bbuf = gstrans(b);
|
||||
|
||||
c = stricmp(abuf, bbuf);
|
||||
c = strcasecmp (abuf, bbuf);
|
||||
|
||||
m_free(abuf);
|
||||
m_free(bbuf);
|
||||
|
@ -228,5 +228,3 @@ leave:
|
|||
return rc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue