Skip to content

portability and error checking #11

Description

@hannesm

via mirage/mirage-fs-unix#3 (thanks @dsheets):

  • PATH_MAX may not be defined and the resolved_path==NULL feature should be used to get a malloc'd buffer (and then copy to an OCaml string and free).
  • GNU realpath may set errno to EACCES or ENOENT and then return a non-NULL pointer to the failing prefix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions