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

Allow empty file name #1898

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Oct 26, 2024

When providing a custom stream, there is no reason a filename needs to be provided beyond clearer error messages. Because std::string does not allow null, continue to disallow a null filename. Add a test case

Fixes #1894

When providing a custom stream, there is no reason a filename needs to
be provided beyond clearer error messages. Because std::string does not
allow null, continue to disallow a null filename. Add a test case

Signed-off-by: Kimball Thurston <[email protected]>
Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cary-ilm cary-ilm merged commit b6fc6ec into AcademySoftwareFoundation:main Oct 26, 2024
34 checks passed
@kdt3rd kdt3rd deleted the fix_1894 branch October 27, 2024 23:41
cary-ilm pushed a commit that referenced this pull request Nov 3, 2024
When providing a custom stream, there is no reason a filename needs to
be provided beyond clearer error messages. Because std::string does not
allow null, continue to disallow a null filename. Add a test case

Signed-off-by: Kimball Thurston <[email protected]>
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.

imf::IStream Fail to create IStream with empty filename 3.3.0 (commit: e4e6cf2)
2 participants