VirtualBox

Changeset 93192 in vbox


Ignore:
Timestamp:
Jan 11, 2022 11:27:30 PM (3 years ago)
Author:
vboxsync
Message:

Main/UnattendedScript: Added @@VBOX_INSERT[expr]@@ and @@VBOX_COND[expr]@@, merging the variable & condition lookup with the previous replacement getter. Added simple testcase for checking the basics. [build fixes] bugref:9781

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/UnattendedScript.cpp

    r93191 r93192  
    119119            size_t       cchPlaceholder    = sizeof(g_szPrefix) - 1;
    120120            char         ch;
    121             while (   offPlaceholder + cchPlaceholder < cchMaxPlaceholder
     121            while (   cchPlaceholder < cchMaxPlaceholder
    122122                   && (ch = pszPlaceholder[cchPlaceholder]) != '\0'
    123123                   && (RT_C_IS_PRINT(ch) || RT_C_IS_SPACE(ch))
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