VirtualBox

Ignore:
Timestamp:
Nov 29, 2010 12:25:17 AM (14 years ago)
Author:
vboxsync
Message:

bugfixing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/checksum/manifest2.cpp

    r34418 r34442  
    676676
    677677
     678#if 0
     679static int rtManifestReadLine(RTVFSIOSTREAM hVfsIos, char *pszLine, size_t cbLine)
     680{
     681    /* This is horribly slow right now, but it's not a biggy as the input is
     682       usually cached in memory somewhere... */
     683    *pszLine = '\0';
     684    while (cbLine > 1)
     685    {
     686        int rc = RTVfsIoStrmRead(hVfsIos, pszLine, 1, true /*fBLocking*/, NULL);
     687        if (RT_FAILURE(rc))
     688        {
     689            *pszLine = '\0';
     690            return rc == VERR_EOF ? VINF_EOF : rc;
     691        }
     692    }
     693    return rc;
     694}
     695#endif
     696
     697
    678698/**
    679699 * Reads in a "standard" manifest.
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