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

Bug: OpenFile broken for MemMapFs #415

Open
jimsnab opened this issue Feb 7, 2024 · 0 comments
Open

Bug: OpenFile broken for MemMapFs #415

jimsnab opened this issue Feb 7, 2024 · 0 comments

Comments

@jimsnab
Copy link

jimsnab commented Feb 7, 2024

Basic scenario doesn't work.

  1. Create a file with os.O_CREATE|os.O_RDWR|os.O_EXCL and close it
  2. Try to reopen the file with os.O_RDWR|os.O_EXCL

Result: file exists error

Expected: reopen should succeed

See

https://goplay.tools/snippet/e6a3inm51RX

jimsnab pushed a commit to jimsnab/afero that referenced this issue Feb 7, 2024
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

No branches or pull requests

1 participant