FAQ
PTAL.
On 2012/09/21 14:32:51, rsc wrote:
This only matters for pids above 2147483647, right? Did you actually
run into this? I'd rather make getpid return a uint64 and define pid
as uint64 than need to introduce casts in every comparison. That is,
the cast is a symptom that something else wasn't declared correctly.
Russ
We ran into this because of a difference of opinion about the
size of `long' between UNIX and Plan 9, while cross-compiling.
I apologize for the dirty hack. I've updated this to a more
appropriate solution.

I agree about getpid; I'll update it in another CL.


Thanks,
Akshat



http://codereview.appspot.com/6543049/

Search Discussions

  • Ron minnich at Sep 23, 2012 at 12:03 am
    I like this one much better.

    LGTM.

    ron

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 22, '12 at 10:04p
activeSep 23, '12 at 12:03a
posts2
users2
websitegolang.org

2 users in discussion

Ron minnich: 1 post Seed: 1 post

People

Translate

site design / logo © 2022 Grokbase