(file_name_absolute_p) [WINDOWSNT]: Use isalpha().
This commit is contained in:
parent
410797a511
commit
5f7a487486
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ file_name_absolute_p (filename)
|
|||
|
||||
#ifdef WINDOWSNT
|
||||
/* X:\xxx is always absolute; X:xxx is an error and will fail. */
|
||||
if (islower (tolower (filename[0]))
|
||||
if (isalpha (filename[0])
|
||||
&& filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/'))
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue