Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(306)

Issue 7232059: code review 7232059: include: Plan 9: move Runemax to arch-dependent files (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by akumar
Modified:
12 years, 1 month ago
Reviewers:
lucio
CC:
rsc, ality, rminnich, golang-dev
Visibility:
Public.

Description

include: Plan 9: hide any previous definition of Runemax Runemax is already defined in libc on 64-bit version of Plan 9, but is not defined on other versions. To accommodate, we make sure to rename any previous instance of Runemax and re-define it subsequently.

Patch Set 1 #

Patch Set 2 : diff -r f6172d444cc0 https://code.google.com/p/go #

Patch Set 3 : diff -r f6172d444cc0 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M include/plan9/libc.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6
akumar
Hello rsc@golang.org, ality@pbrane.org, rminnich@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 1 month ago (2013-01-30 14:30:49 UTC) #1
rsc
Sorry, but no. Runemax is not architecture-dependent in any way. You're using u.h as a ...
12 years, 1 month ago (2013-01-30 14:45:37 UTC) #2
akumar
PTAL. Also updated description.
12 years, 1 month ago (2013-01-30 15:21:46 UTC) #3
rsc
LGTM
12 years, 1 month ago (2013-01-30 15:47:17 UTC) #4
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=449c3ca9f5c3 *** include: Plan 9: hide any previous definition of Runemax Runemax ...
12 years, 1 month ago (2013-01-30 15:56:42 UTC) #5
lucio
12 years, 1 month ago (2013-01-30 16:12:31 UTC) #6
It's unfortunate that the two Plan 9 architectures disagree, what
happens in the ARM case?

Lucio.

On 1/30/13, Russ Cox <rsc@golang.org> wrote:
> Sorry, but no. Runemax is not architecture-dependent in any way. You're
> using u.h as a proxy for "not used by the Plan 9 build" but that's not what
> it means. You can do something like
>
> #define Runemax Plan9Runemax
> #include </sys/include/libc.h>
> #undef Runemax
>
> Russ
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "golang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b