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

Make full filename large enough for filename and filepath components #470

Merged

Conversation

BenBradnick
Copy link
Contributor

I was having issues with full filenames being truncated due to the full filename being limited to the same size to the filename and filepath components.

This is a minimal change which increases the size of the full filename compared to the filename and filepath components. NDFileNexus.cpp already does something similar, but has a fixed format.

I'm not sure if the factor should be 3*MAX_FILENAME_LEN instead to account for possible extra characters in the file template on top of the substitution (although this will be slightly less than 256 characters depending on the formatting).

@coveralls
Copy link

Coverage Status

Coverage remained the same at 38.9% when pulling 4a558b8 on dls-controls:fix/full-filename-length into bcaced9 on areaDetector:master.

@MarkRivers MarkRivers merged commit 6858bfe into areaDetector:master May 11, 2021
@BenBradnick BenBradnick deleted the fix/full-filename-length branch July 21, 2021 09:43
bsobhani pushed a commit to bsobhani/ADCore that referenced this pull request Apr 1, 2024
…me-length

Make full filename large enough for filename and filepath components
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.

3 participants