* ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly.

This commit is contained in:
Ralf Wildenhues 2004-11-03 14:11:52 +00:00
parent 2f06b761c4
commit 93b5b6e02f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly.
2004-11-03 Peter Ekberg <spam.protected>
* ltmain.m4sh (cwrappersource): clean up warnings and

View File

@ -5787,7 +5787,7 @@ basename (const char *name)
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
/* Skip over the disk name in MSDOS pathnames. */
if (isalpha (name[[0]]) && name[[1]] == ':')
if (isalpha ((unsigned char)name[[0]]) && name[[1]] == ':')
name += 2;
#endif
@ -5842,7 +5842,7 @@ find_executable (const char* wrapper)
/* Absolute path? */
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
if (isalpha (wrapper[[0]]) && wrapper[[1]] == ':')
if (isalpha ((unsigned char)wrapper[[0]]) && wrapper[[1]] == ':')
{
concat_name = xstrdup (wrapper);
if (check_executable(concat_name))