-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
proposal: os: Chown expects int, but Linux uid_t/gid_t are uint32 #8537
Labels
Milestone
Comments
It looks like we made an unfortunate choice here, but the Go 1 compatibility guarantee prevents us from changing it. As far as I can see the current code will work, albeit awkwardly, so it's not essential to do anything today. Marking as a Go 2 issue. Labels changed: added repo-main, go2. Status changed to LongTerm. |
rsc
changed the title
os: uid_t and gid_t are unsigned 32-bit on Linux, yet os.Chown takes (signed) int
os: Chown expects int but Linux uid_t/gid_t are uint32
Jun 17, 2017
rsc
changed the title
os: Chown expects int but Linux uid_t/gid_t are uint32
os: Chown expects int, but Linux uid_t/gid_t are uint32
Jun 17, 2017
cf #6495 |
rsc
changed the title
os: Chown expects int, but Linux uid_t/gid_t are uint32
proposal: os: Chown expects int, but Linux uid_t/gid_t are uint32
Jun 17, 2017
Let's fold this into the more general #6495. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: