Hiroaki, go/src/syscall/zerrors_windows.go
// Invented values to support what package os and others expects. const ( ... ETXTBSY ... ) peter On Monday, May 13, 2024 at 4:32:38 AM UTC-4 hnak...@gmail.com wrote: > Hi, > I found that > > https://github.com/golang/go/blob/07fc59199b9522bfe0d14f35c4391394efc336c9/src/cmd/go/internal/script/cmds_posix.go > has the build tag > //go:build unix || windows > > Is windows really needed here? (I suppose not) > > isETXTBSY is also defined in > > https://github.com/golang/go/blob/07fc59199b9522bfe0d14f35c4391394efc336c9/src/cmd/go/internal/test/test_unix.go > and its build tag is: > //go:build unix > which I think correct. > > Thanks, > Hiroaki > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/de181ed7-e9c8-4683-8f1d-8b9cabe665cdn%40googlegroups.com.