Changeset 103341 in vbox for trunk/src/VBox/Runtime/common/string/strformat.cpp
- Timestamp:
- Feb 14, 2024 1:43:40 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strformat.cpp
r99758 r103341 353 353 { 354 354 char szTmp[64]; /* Worker functions assumes 64 byte buffer! Ugly but faster. */ 355 va_list args;356 355 size_t cch = 0; 357 356 const char *pszStartOutput = pszFormat; 358 357 359 va_copy(args, InArgs); /* make a copy so we can reference it (AMD64 / gcc). */ 358 /* make a local copy so we can reference it (AMD64 / gcc). */ 359 va_list args; 360 va_copy(args, InArgs); 360 361 361 362 while (*pszFormat != '\0') … … 861 862 pfnOutput(pvArgOutput, NULL, 0); 862 863 864 va_end(args); 863 865 return cch; 864 866 }
Note:
See TracChangeset
for help on using the changeset viewer.