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

strcmp/strncmp & detector info #2

Merged
merged 1 commit into from
May 13, 2024
Merged

strcmp/strncmp & detector info #2

merged 1 commit into from
May 13, 2024

Conversation

githubgphl
Copy link
Owner

If we really can't get any detector serial number, at least have a look at /entry/instrument/name (which sometimes carries meaningful info).

Change to using strncmp instead of strcmp when handling HDF5 string data: we can't rely on it being null-terminated.

If we really can't get any detector serial number, at least have a look at /entry/instrument/name (which sometimes carries meaningful info).

Change to using strncmp instead of strcmp when handling HDF5 string data: we can't rely on it being null-terminated.
@CV-GPhL CV-GPhL merged commit d7034cb into main May 13, 2024
1 check passed
@CV-GPhL CV-GPhL deleted the githubgphl-patch-1 branch May 13, 2024 13:18
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

Successfully merging this pull request may close these issues.

2 participants