VirtualBox

Changeset 8619 in vbox for trunk


Ignore:
Timestamp:
May 6, 2008 11:16:36 AM (17 years ago)
Author:
vboxsync
Message:

New nesting extension '%M' that replaces the format string. Note that it won't currently process anything after the '%M' in the orignal string, but this is sufficient for joining log messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strformat.cpp

    r8245 r8619  
    774774
    775775                    /*
    776                      * Nested extension.
     776                     * Nested extensions.
    777777                     */
    778                     case 'N':
     778                    case 'M': /* replace the format string (not stacked yet). */
     779                    {
     780                        pszStartOutput = pszFormat = va_arg(args, const char *);
     781                        AssertPtr(pszStartOutput);
     782                        break;
     783                    }
     784
     785                    case 'N': /* real nesting. */
    779786                    {
    780787                        const char *pszFormatNested = va_arg(args, const char *);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette