Changeset 3249 for trunk/tools
- Timestamp:
- Mar 27, 2000, 2:52:13 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/dbginfo/kHll.cpp
r3248 r3249 1 /* $Id: kHll.cpp,v 1. 7 2000-03-27 12:36:17bird Exp $1 /* $Id: kHll.cpp,v 1.8 2000-03-27 12:52:13 bird Exp $ 2 2 * 3 3 * kHll - Implementation of the class kHll. … … 655 655 if (cch != sizeof(hllHdr)) 656 656 return -1; 657 658 /* 659 * Hacking: 660 * Writing an extra HLL header pointing to an non-existing directory 661 * staring at the last byte of this header. 662 */ 663 if (fseek(phFile, lPosStart + cchWritten, SEEK_SET) != 0) 664 return -2; 665 hllHdr.offDirectory = cchWritten + sizeof(hllHdr) - 1; 666 cch = fwrite(&hllHdr, 1, sizeof(hllHdr), phFile); 667 if (cch != sizeof(hllHdr)) 668 return -1; 669 cchWritten += cch; 657 670 658 671 return cchWritten;
Note:
See TracChangeset
for help on using the changeset viewer.