Changeset 28903 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Apr 29, 2010 2:58:12 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60847
- Location:
- trunk/src/VBox/Runtime/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/thread.cpp
r28800 r28903 49 49 #include "internal/sched.h" 50 50 #include "internal/process.h" 51 #ifdef RT_WITH_ICONV_CACHE 52 # include "internal/string.h" 53 #endif 51 54 52 55 … … 354 357 #ifdef IN_RING3 355 358 rtLockValidatorInitPerThread(&pThread->LockValidator); 359 #endif 360 #ifdef RT_WITH_ICONV_CACHE 361 rtStrIconvCacheInit(pThread); 356 362 #endif 357 363 int rc = RTSemEventMultiCreate(&pThread->EventUser); … … 575 581 576 582 rtLockValidatorDeletePerThread(&pThread->LockValidator); 583 #endif 584 #ifdef RT_WITH_ICONV_CACHE 585 rtStrIconvCacheDestroy(pThread); 577 586 #endif 578 587 ASMAtomicXchgU32(&pThread->u32Magic, RTTHREADINT_MAGIC_DEAD); -
trunk/src/VBox/Runtime/common/string/utf-8-case.cpp
r28800 r28903 109 109 } 110 110 111 /* Hit some bad encoding, continue in case insensitive mode. */111 /* Hit some bad encoding, continue in case sensitive mode. */ 112 112 return RTStrCmp(psz1, psz2); 113 113 } -
trunk/src/VBox/Runtime/common/string/utf-8.cpp
r28800 r28903 52 52 * on success (cch = cb again). Optional. 53 53 */ 54 staticint rtUtf8Length(const char *psz, size_t cch, size_t *pcuc, size_t *pcchActual)54 int rtUtf8Length(const char *psz, size_t cch, size_t *pcuc, size_t *pcchActual) 55 55 { 56 56 const unsigned char *puch = (const unsigned char *)psz; … … 316 316 } 317 317 return rc; 318 319 320 return RTStrUniLenEx(psz, cch, &cCpsIgnored);321 318 } 322 319 RT_EXPORT_SYMBOL(RTStrValidateEncodingEx);
Note:
See TracChangeset
for help on using the changeset viewer.