You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On tip however this results in an Access is denied error:
panic: open Z:\buildAgent\temp\buildTmp\test-1396926860: Access is denied.
goroutine 1 [running]:
main.must(...)
Z:/buildAgent/work/3aca8f960d346a9c/blah.go:7
main.main()
Z:/buildAgent/work/3aca8f960d346a9c/blah.go:19 +0x13d
exit status 2
Furthermore even correcting the order of Open/Close will (sometimes? always?) result in the same Access is denied error, unless a sleep is introduced between the close and the successive open:
It might have something to do with the flags being passed to OpenFile since the problem doesn't happen with the first OpenFile (which is also immediately successive to a Close on the same file). I have not bisected this problem but it was introduced between the 5th and the 10th of October.
The text was updated successfully, but these errors were encountered:
In Go 1.23 (and at least a few versions before it) opening a file twice for writing, was possible (and it continues to be possible on linux):
On tip however this results in an Access is denied error:
Furthermore even correcting the order of Open/Close will (sometimes? always?) result in the same Access is denied error, unless a sleep is introduced between the close and the successive open:
It might have something to do with the flags being passed to OpenFile since the problem doesn't happen with the first OpenFile (which is also immediately successive to a Close on the same file). I have not bisected this problem but it was introduced between the 5th and the 10th of October.
The text was updated successfully, but these errors were encountered: