- Timestamp:
- Oct 23, 2009 8:34:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/USBProxyServiceLinux.cpp
r18866 r24013 33 33 #include <VBox/err.h> 34 34 35 #include <iprt/alloc.h> 36 #include <iprt/ctype.h> 35 37 #include <iprt/string.h> 36 #include <iprt/alloc.h>37 38 #include <iprt/assert.h> 38 39 #include <iprt/file.h> … … 42 43 #include <string.h> 43 44 #include <stdio.h> 44 #include <ctype.h>45 45 #include <errno.h> 46 46 #include <sys/statfs.h> … … 282 282 { 283 283 char *pszNext = *ppszNext; 284 if (! isspace(*pszNext) && *pszNext)284 if (!RT_C_IS_SPACE (*pszNext) && *pszNext) 285 285 { 286 286 /* skip unit */ … … 302 302 303 303 /* blank or end of the line. */ 304 if (! isspace(*pszNext) && *pszNext)304 if (!RT_C_IS_SPACE (*pszNext) && *pszNext) 305 305 { 306 306 AssertMsgFailed (("pszNext=%s\n", pszNext)); … … 359 359 if (paSuffs) 360 360 { 361 if (! isspace(*pszNext) && *pszNext)361 if (!RT_C_IS_SPACE (*pszNext) && *pszNext) 362 362 { 363 363 for (PCUSBSUFF pSuff = paSuffs; pSuff->szSuff[0]; pSuff++) 364 364 { 365 365 if ( !strncmp (pSuff->szSuff, pszNext, pSuff->cchSuff) 366 && (!pszNext[pSuff->cchSuff] || isspace(pszNext[pSuff->cchSuff])))366 && (!pszNext[pSuff->cchSuff] || RT_C_IS_SPACE (pszNext[pSuff->cchSuff]))) 367 367 { 368 368 if (pSuff->uDiv) … … 507 507 if (!psz) 508 508 return strchr (pszValue, '\0'); 509 while (psz > pszValue && ! isspace(psz[-1]))509 while (psz > pszValue && !RT_C_IS_SPACE (psz[-1])) 510 510 psz--; 511 511 Assert (psz > pszValue);
Note:
See TracChangeset
for help on using the changeset viewer.