Skip to content

GetRefInfo and GetRefNum do not work correctly with resource forks #6

Open
@sheumann

Description

@sheumann

The resourceNumber field returned by GetRefInfo should indicate if the resource fork or data fork of the file was opened, but under the Host FST it is always 0 (indicating the data fork), even if the resource fork was actually opened.

Also, GetRefNum cannot successfully look up the reference number of an open resource fork (using a resNum value of 1).

To fix both these problems, bit 14 of the FCR's access field should be set to indicate a resource fork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions