-
Notifications
You must be signed in to change notification settings - Fork 4
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
readFile creates new files on Windows #14
Comments
Ouch. We're using the Win32 API proper, which is a bit peculiar. I'll look at it this weekend. |
From a quick glance it seems I was tricked by the posix functions behaving in a certain way:
The solution seems to be to use |
Or we just change this file-io/windows/System/File/Platform.hs Line 48 in 9b1cc99
to |
This is fixed here: 9436ee8 |
Win 10, GHC 9.6.3:
What's worse is that
readFile
also creates an emptydoes-not-exist
file.The text was updated successfully, but these errors were encountered: