Changeset 34442 in vbox for trunk/src/VBox/Runtime/common/checksum/manifest2.cpp
- Timestamp:
- Nov 29, 2010 12:25:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/checksum/manifest2.cpp
r34418 r34442 676 676 677 677 678 #if 0 679 static 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 678 698 /** 679 699 * Reads in a "standard" manifest.
Note:
See TracChangeset
for help on using the changeset viewer.