VirtualBox

Changeset 103383 in vbox


Ignore:
Timestamp:
Feb 15, 2024 11:53:38 AM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161701
Message:

scm: A couple of parfait things. bugref:3409

Location:
trunk/src/bldprogs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scm.cpp

    r98449 r103383  
    28882888            if (cExtraAdvance)
    28892889                RTPrintf("  %s, %s\n", paOpts[i].pszLong, paOpts[i + 1].pszLong);
    2890             else if (paOpts[i].iShort != SCMOPT_NO_UPDATE_LICENSE)
     2890            else if (paOpts[i].iShort != SCMOPT_NO_UPDATE_LICENSE || i + 6 >= cOpts /* paranoia */)
    28912891                RTPrintf("  %s\n", paOpts[i].pszLong);
    28922892            else
  • trunk/src/bldprogs/scmstream.cpp

    r100618 r103383  
    476476static const char *scmStreamGetLineInternal(PSCMSTREAM pStream, size_t *pcchLine, PSCMEOL penmEol)
    477477{
     478    *pcchLine = 0;
     479    *penmEol  = SCMEOL_NONE;
     480
    478481    AssertReturn(!pStream->fWriteOrRead, NULL);
    479482    if (RT_FAILURE(pStream->rc))
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