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 slashes in write_aig_external filenames #1443

Merged
merged 1 commit into from
Sep 1, 2021
Merged

Conversation

atomb
Copy link
Contributor

@atomb atomb commented Aug 31, 2021

This command uses a temporary file whose name was originally built on
the full filename of the final output file. Now it's built only on the
basename of that file.

Closes #1438

This command uses a temporary file whose name was originally built on
the full filename of the final output file. Now it's built only on the
basename of that file.
@atomb atomb requested a review from brianhuffman August 31, 2021 22:25
write_aig_external "write_aig_external_unsat.aig" q_unsat;
write_cnf_external "write_aig_external_unsat.cnf" q_unsat;
write_aig_external "./write_aig_external_unsat.aig" q_unsat;
write_cnf_external "./write_aig_external_unsat.cnf" q_unsat;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to be clear: The ./ part is not suddenly required now, is it? You've just added it in this test case to exercise the new takeBaseName functionality, because the ./ prefix wouldn't have worked before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, exactly. It most certainly is not required, but this approach seemed like an easy way to make sure it was working.

@atomb atomb added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label Aug 31, 2021
@atomb atomb merged commit 91c5148 into master Sep 1, 2021
@atomb atomb deleted the at-external-aig-slash branch September 1, 2021 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

write_aig_external doesn't work with filenames that include path separator characters
2 participants