diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:56:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:56:57 +0100 |
commit | cea11039b29cffa0c8045ead30ddfc4859595c7e (patch) | |
tree | d391650735cbc0c2ab40b3f1caf8a2b1c706f365 /solenv/bin | |
parent | cb643b44ca9469b9bbea97c5c0c0c911fc8ba058 (diff) |
Fix passing plain char into ctype.h is* functions
Change-Id: I3d1fd585ba7f0bd8f6d074f0d2b86a20fa366072
Diffstat (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/concat-deps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c index 14425441cd6d..32e4f10ee4e0 100644 --- a/solenv/bin/concat-deps.c +++ b/solenv/bin/concat-deps.c @@ -795,7 +795,8 @@ static inline void print_fullpaths(char* line) end = token; /* hard to believe that in this day and age drive letters still exist */ if (*end && (':' == *(end+1)) && - (('\\' == *(end+2)) || ('/' == *(end+2))) && isalpha(*end)) + (('\\' == *(end+2)) || ('/' == *(end+2))) && + isalpha((unsigned char)*end)) { end = end + 3; /* only one cross, err drive letter per filename */ } |