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

write_aig_external doesn't work with filenames that include path separator characters #1438

Closed
weaversa opened this issue Aug 30, 2021 · 1 comment · Fixed by #1443
Closed
Assignees

Comments

@weaversa
Copy link
Contributor

sawscript> write_aig_external "../test.aig" {{ \x -> x + 0xa }}

Stack trace:
"write_aig_external" (<stdin>:1:1-1:19):
openTempFile': Template string must not contain path separator characters: ../test.aig.v
@atomb
Copy link
Contributor

atomb commented Aug 30, 2021

This should be an easy fix. We should create the temporary file based on just the filename portion of the output, not the whole path.

@atomb atomb self-assigned this Aug 30, 2021
atomb pushed a commit that referenced this issue Sep 1, 2021
Allow slashes in `write_aig_external` filenames

Closes #1438
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 a pull request may close this issue.

2 participants