From: Ralf Wildenhues Date: Wed, 3 Nov 2004 14:07:37 +0000 (+0000) Subject: * ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad5842e6775e8018a35cb00f0e5b6df4135e68ae;p=thirdparty%2Flibtool.git * ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly. --- diff --git a/ChangeLog b/ChangeLog index e2668152f..f1ca5f5f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-11-03 Ralf Wildenhues + + * ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly. + 2004-11-03 Peter Ekberg * ltmain.m4sh (cwrappersource): clean up warnings and diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index 3ed147e27..ee1ca5690 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -5793,7 +5793,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 @@ -5848,7 +5848,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))