1
0
Fork 0
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:
Werner Koch 2002-05-22 09:09:24 +00:00
parent 09e732361a
commit eb1057be7c
4 changed files with 23 additions and 19 deletions

View file

@ -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;
}