- Timestamp:
- Oct 23, 2009 8:02:13 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53844
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strstrip.cpp
r21337 r24006 49 49 { 50 50 /* left */ 51 while ( isspace(*psz))51 while (RT_C_IS_SPACE(*psz)) 52 52 psz++; 53 53 54 54 /* right */ 55 55 char *pszEnd = strchr(psz, '\0'); 56 while (--pszEnd > psz && isspace(*pszEnd))56 while (--pszEnd > psz && RT_C_IS_SPACE(*pszEnd)) 57 57 *pszEnd = '\0'; 58 58 … … 71 71 { 72 72 /* left */ 73 while ( isspace(*psz))73 while (RT_C_IS_SPACE(*psz)) 74 74 psz++; 75 75 … … 89 89 /* right */ 90 90 char *pszEnd = strchr(psz, '\0'); 91 while (--pszEnd > psz && isspace(*pszEnd))91 while (--pszEnd > psz && RT_C_IS_SPACE(*pszEnd)) 92 92 *pszEnd = '\0'; 93 93 -
trunk/src/VBox/Runtime/r3/fs.cpp
r23622 r24006 75 75 const char *pszExt = &pszName[cbName - 3]; 76 76 char szExt[4]; 77 szExt[0] = tolower(pszExt[0]);78 szExt[1] = tolower(pszExt[1]);79 szExt[2] = tolower(pszExt[2]);77 szExt[0] = RT_C_TO_LOWER(pszExt[0]); 78 szExt[1] = RT_C_TO_LOWER(pszExt[1]); 79 szExt[2] = RT_C_TO_LOWER(pszExt[2]); 80 80 szExt[3] = '\0'; 81 81 if ( !memcmp(szExt, "exe", 4)
Note:
See TracChangeset
for help on using the changeset viewer.