OSErr
PositionIterator(CatalogIterator *cip, UInt32 offset, BTreeIterator *bip, UInt16 *op)
{
-#define CAT_START_OFFSET 0
+#define CAT_START_OFFSET (2 * sizeof(struct hfsdotentry))
ExtendedVCB * vol;
FCB * fcb;
OSErr result = 0;
pid = *idp;
curOffset = CAT_START_OFFSET;
- nextOffset = GetDirEntrySize(bip, vol);
+ nextOffset = CAT_START_OFFSET + GetDirEntrySize(bip, vol);
while (nextOffset < offset) {
result = BTIterateRecord( fcb, kBTreeNextRecord, bip, NULL, NULL );
*/
const char * gIOKernelKmods =
"{
- 'com.apple.kernel' = '1.3.2';
- 'com.apple.kernel.bsd' = '1.0.2';
- 'com.apple.kernel.iokit' = '1.0.2';
- 'com.apple.kernel.libkern' = '1.0.2';
- 'com.apple.kernel.mach' = '1.0.2';
- 'com.apple.iokit.IOADBFamily' = '1.0.2';
- 'com.apple.iokit.IOCDStorageFamily' = '1.0.2';
- 'com.apple.iokit.IODVDStorageFamily' = '1.0.2';
- 'com.apple.iokit.IOGraphicsFamily' = '1.0.2';
- 'com.apple.iokit.IOHIDSystem' = '1.0.2';
- 'com.apple.iokit.IONDRVSupport' = '1.0.2';
- 'com.apple.iokit.IONetworkingFamily' = '1.0.2';
- 'com.apple.iokit.IOPCIFamily' = '1.0.2';
- 'com.apple.iokit.IOStorageFamily' = '1.0.2';
- 'com.apple.iokit.IOSystemManagementFamily' = '1.0.2';
+ 'com.apple.kernel' = '1.3.3';
+ 'com.apple.kernel.bsd' = '1.0.3';
+ 'com.apple.kernel.iokit' = '1.0.3';
+ 'com.apple.kernel.libkern' = '1.0.3';
+ 'com.apple.kernel.mach' = '1.0.3';
+ 'com.apple.iokit.IOADBFamily' = '1.0.3';
+ 'com.apple.iokit.IOCDStorageFamily' = '1.0.3';
+ 'com.apple.iokit.IODVDStorageFamily' = '1.0.3';
+ 'com.apple.iokit.IOGraphicsFamily' = '1.0.3';
+ 'com.apple.iokit.IOHIDSystem' = '1.0.3';
+ 'com.apple.iokit.IONDRVSupport' = '1.0.3';
+ 'com.apple.iokit.IONetworkingFamily' = '1.0.3';
+ 'com.apple.iokit.IOPCIFamily' = '1.0.3';
+ 'com.apple.iokit.IOStorageFamily' = '1.0.3';
+ 'com.apple.iokit.IOSystemManagementFamily' = '1.0.3';
}";