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

Cannot mix hard links with external links -- need to check for this #451

Open
prjemian opened this issue Jun 26, 2017 · 0 comments
Open

Comments

@prjemian
Copy link
Contributor

A question came up in the definitions repository about creating hard links within a master file to objects that are actually external linked from other files.

HDF5 will not permit this. The Python h5py package reported:

RuntimeError: Unable to create link (Interfile hard links are not allowed)

The NX5makelink() code in napi5.c is not defended against this situation. Suggest that additional code be added to check for the object being the target of an external file link before attempting to construct an HDF5 hard link. Could either quietly create an external file link or report an error.

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

No branches or pull requests

1 participant