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
We can fix os/user's User.Uid, but the Go 1 compatibility promise prevents us from changing the syscall.Getuid signature. You'll have to convert there. But it's the syscall package anyway, so people are expected to roll up their sleeves a bit.
bradfitz
changed the title
getuid and co return signed integers; hilarity ensues
os/user: fix signedness of UIDs before stringifying
Nov 15, 2017
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?at least 1.6 and 1.9 (haven't checked elsewhere)
Does this issue reproduce with the latest release?
that's 1.9, right?
What operating system and processor architecture are you using (
go env
)?issue is with 32 bit Linux, only (so
GOARCH
of386
andarm
, andppc
)What did you do?
given
and
and
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: