[Libreoffice-commits] core.git: solenv/bin
Stephan Bergmann
sbergman at redhat.com
Wed Mar 22 20:57:30 UTC 2017
solenv/bin/concat-deps.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit cea11039b29cffa0c8045ead30ddfc4859595c7e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 22 21:56:57 2017 +0100
Fix passing plain char into ctype.h is* functions
Change-Id: I3d1fd585ba7f0bd8f6d074f0d2b86a20fa366072
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 */
}
More information about the Libreoffice-commits
mailing list