Index: /trunk/src/VBox/Runtime/common/string/strstrip.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/string/strstrip.cpp	(revision 24005)
+++ /trunk/src/VBox/Runtime/common/string/strstrip.cpp	(revision 24006)
@@ -49,10 +49,10 @@
 {
     /* left */
-    while (isspace(*psz))
+    while (RT_C_IS_SPACE(*psz))
         psz++;
 
     /* right */
     char *pszEnd = strchr(psz, '\0');
-    while (--pszEnd > psz && isspace(*pszEnd))
+    while (--pszEnd > psz && RT_C_IS_SPACE(*pszEnd))
         *pszEnd = '\0';
 
@@ -71,5 +71,5 @@
 {
     /* left */
-    while (isspace(*psz))
+    while (RT_C_IS_SPACE(*psz))
         psz++;
 
@@ -89,5 +89,5 @@
     /* right */
     char *pszEnd = strchr(psz, '\0');
-    while (--pszEnd > psz && isspace(*pszEnd))
+    while (--pszEnd > psz && RT_C_IS_SPACE(*pszEnd))
         *pszEnd = '\0';
 
Index: /trunk/src/VBox/Runtime/r3/fs.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/fs.cpp	(revision 24005)
+++ /trunk/src/VBox/Runtime/r3/fs.cpp	(revision 24006)
@@ -75,7 +75,7 @@
             const char *pszExt = &pszName[cbName - 3];
             char szExt[4];
-            szExt[0] = tolower(pszExt[0]);
-            szExt[1] = tolower(pszExt[1]);
-            szExt[2] = tolower(pszExt[2]);
+            szExt[0] = RT_C_TO_LOWER(pszExt[0]);
+            szExt[1] = RT_C_TO_LOWER(pszExt[1]);
+            szExt[2] = RT_C_TO_LOWER(pszExt[2]);
             szExt[3] = '\0';
             if (    !memcmp(szExt, "exe", 4)
