Changeset 713
- Timestamp:
- Dec 14, 2006, 2:34:32 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kDepIDB/kDepIDB.c
r398 r713 52 52 #define dprintf(a) do {} while (0) 53 53 #define dump(pb, cb, offBase) do {} while (0) 54 #endif 54 #endif 55 55 56 56 … … 92 92 printf("\n"); 93 93 } 94 #endif 94 #endif 95 95 96 96 /** 97 97 * Scans a stream (chunk of data really) for dependencies. 98 * 98 * 99 99 * @returns 0 on success. 100 100 * @returns !0 on failure. … … 181 181 182 182 /////////////////////////////////////////////////////////////////////////////// 183 // 184 // 183 // 184 // 185 185 // P D B 7 . 0 186 // 187 // 186 // 187 // 188 188 /////////////////////////////////////////////////////////////////////////////// 189 189 … … 249 249 if (pHdr->iStartPage >= pHdr->cPages && pHdr->iStartPage <= 0) 250 250 { 251 fprintf(stderr, "%s: error: Bad PDB 2.0 header - iStartPage=%u cPages=%u.\n", argv0, 251 fprintf(stderr, "%s: error: Bad PDB 2.0 header - iStartPage=%u cPages=%u.\n", argv0, 252 252 pHdr->iStartPage, pHdr->cPages); 253 253 return 1; … … 295 295 else 296 296 { 297 fprintf(stderr, "%s: warning: Invalid page index %u (max %u)!\n", argv0, 297 fprintf(stderr, "%s: warning: Invalid page index %u (max %u)!\n", argv0, 298 298 (unsigned)off, pHdr->cPages); 299 299 memset(pbBuf + iPage * cbPage, 0, cbPage); … … 382 382 383 383 /* 384 * Iterate the streams in the root and scan their content for 384 * Iterate the streams in the root and scan their content for 385 385 * dependencies. 386 386 */ … … 411 411 412 412 /////////////////////////////////////////////////////////////////////////////// 413 // 414 // 413 // 414 // 415 415 // P D B 2 . 0 416 // 417 // 416 // 417 // 418 418 /////////////////////////////////////////////////////////////////////////////// 419 419 … … 584 584 585 585 /* 586 * Iterate the streams in the root and scan their content for 586 * Iterate the streams in the root and scan their content for 587 587 * dependencies. 588 588 */ … … 613 613 static int ProcessIDB(FILE *pInput) 614 614 { 615 longcbFile;615 size_t cbFile; 616 616 char *pbFile; 617 617 char *pbHdr = PDB_SIGNATURE_200; … … 641 641 return rc; 642 642 } 643 643 644 644 645 645 static void usage(const char *argv0)
Note:
See TracChangeset
for help on using the changeset viewer.