mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
* ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly.
This commit is contained in:
parent
2f06b761c4
commit
93b5b6e02f
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user