Make fn_has_ext() case insensitive by default.

committer: mfx <mfx> 980609337 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2001-01-27 15:28:57 +00:00
parent f300b31d8d
commit 34070f0b93
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ int upx_vsnprintf(char *str, long n, const char *format, va_list ap);
char *fn_basename(const char *name);
int fn_strcmp(const char *n1, const char *n2);
char *fn_strlwr(char *n);
bool fn_has_ext(const char *name, const char *ext);
bool fn_has_ext(const char *name, const char *ext, bool ignore_case=true);
bool file_exists(const char *name);
bool maketempname(char *ofilename, const char *ifilename,