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
{{ message }}
Repository navigation
x/sys: add BLK* constants (specifically BLKGETSIZE64 and BLKRRPART) #19370
I have a question about the process, though: when running GOARCH=amd64 GOOS=linux ./mkerrors.sh -m64 |gofmt >zerrors_linux_amd64.go I get a significant diff. I’m running the command on a Debian stretch system with linux-libc-dev 4.9.2-2.
Should the command be run on a specific system? If so, which one? Is there documentation about this which I’ve missed?
Diffs are unfortunately expected, for various historical reasons. The workaround is to run the script and then discard any changes unrelated to what you are doing. At some point we should try to clean this up, but of course that should be independent of any real changes.
Activity
ianlancetaylor commentedon Mar 2, 2017
Diffs are unfortunately expected, for various historical reasons. The workaround is to run the script and then discard any changes unrelated to what you are doing. At some point we should try to clean this up, but of course that should be independent of any real changes.
bradfitz commentedon Mar 2, 2017
Cleaning up the process for regenerating the files is bug #15282.
gopherbot commentedon Mar 3, 2017
CL https://golang.org/cl/37640 mentions this issue.
unix: add BLK* Linux ioctls