Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portability and error checking #11

Open
hannesm opened this issue Jul 15, 2014 · 0 comments
Open

portability and error checking #11

hannesm opened this issue Jul 15, 2014 · 0 comments

Comments

@hannesm
Copy link
Member

hannesm commented Jul 15, 2014

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant