Changeset 25000 in vbox for trunk/src/VBox/Runtime/generic
- Timestamp:
- Nov 26, 2009 2:22:44 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/env-generic.cpp
r21337 r25000 245 245 for (size_t iVar = 0; iVar < cVars; iVar++) 246 246 { 247 int rc = RTStrCurrentCPToUtf8(&pIntEnv->papszEnv[iVar], papszEnv[iVar]);248 if (RT_FAILURE(rc ))247 int rc2 = RTStrCurrentCPToUtf8(&pIntEnv->papszEnv[iVar], papszEnv[iVar]); 248 if (RT_FAILURE(rc2)) 249 249 { 250 250 pIntEnv->cVars = iVar; 251 251 RTEnvDestroy(pIntEnv); 252 return rc ;252 return rc2; 253 253 } 254 254 } … … 265 265 pIntEnv->cVars = iVar; 266 266 RTEnvDestroy(pIntEnv); 267 return rc;267 return VERR_NO_STR_MEMORY; 268 268 } 269 269 pIntEnv->papszEnv[iVar] = pszVar; -
trunk/src/VBox/Runtime/generic/uuid-generic.cpp
r21337 r25000 324 324 RTDECL(int) RTUuidToUtf16(PCRTUUID pUuid, PRTUTF16 pwszString, size_t cwcString) 325 325 { 326 static const char g_achDigits[17] = "0123456789abcdef";327 326 uint32_t u32TimeLow; 328 327 unsigned u;
Note:
See TracChangeset
for help on using the changeset viewer.