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

Issue 7197046: code review 7197046: syscall: regenerate ztype files for linux (Closed)

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

Description

syscall: regenerate ztype files for linux This CL adds TCPInfo struct to linux/386,arm. It's already added to linux/amd64. Note that not sure the reason but cgo godefs w/ latest gcc translates a flexible array member in structures correctly, handles it as a non-incomplete, non-opaque type, on Go 1. This CL reverts such changes by hand for the Go 1 contract.

Patch Set 1 #

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

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

Patch Set 4 : diff -r ab5aaf4b34f2 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 885321ad3873 https://code.google.com/p/go #

Total comments: 1

Patch Set 6 : diff -r 96fda8bda97b https://code.google.com/p/go #

Patch Set 7 : diff -r b306ec1cf570 https://code.google.com/p/go #

Patch Set 8 : diff -r 6f26fec4b5cd https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -7 lines) Patch
M src/pkg/syscall/ztypes_linux_386.go View 1 2 3 4 5 5 chunks +38 lines, -3 lines 0 comments Download
M src/pkg/syscall/ztypes_linux_amd64.go View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/syscall/ztypes_linux_arm.go View 1 3 chunks +36 lines, -1 line 0 comments Download

Messages

Total messages: 13
mikio
Hello golang-dev@googlegroups.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-23 15:28:11 UTC) #1
mikio
On Thu, Jan 24, 2013 at 12:28 AM, <mikioh.mikioh@gmail.com> wrote: > +pkg syscall (linux-386), type ...
12 years, 1 month ago (2013-01-23 15:33:17 UTC) #2
minux1
so we just add entries to api/except.txt so easily? i guess we shouldn't. On Wed, ...
12 years, 1 month ago (2013-01-23 17:06:13 UTC) #3
bradfitz
We could also just teach cmd/api that uint8 and byte are the same. I'd rather ...
12 years, 1 month ago (2013-01-23 17:39:51 UTC) #4
mikio
yup, will do. On Thu, Jan 24, 2013 at 2:39 AM, Brad Fitzpatrick <bradfitz@golang.org> wrote: ...
12 years, 1 month ago (2013-01-23 22:12:48 UTC) #5
bradfitz
or let me know if you want me to. I'll assume you'll send that CL ...
12 years, 1 month ago (2013-01-23 23:43:37 UTC) #6
mikio
On Thu, Jan 24, 2013 at 8:43 AM, Brad Fitzpatrick <bradfitz@golang.org> wrote: > or let ...
12 years, 1 month ago (2013-01-23 23:53:35 UTC) #7
mikio
Hello golang-dev@googlegroups.com, minux.ma@gmail.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 1 month ago (2013-02-02 01:35:30 UTC) #8
rsc
https://codereview.appspot.com/7197046/diff/13001/api/go1.txt File api/go1.txt (right): https://codereview.appspot.com/7197046/diff/13001/api/go1.txt#newcode19054 api/go1.txt:19054: +pkg syscall (linux-386), type InotifyEvent struct, Name [0]int8 This ...
12 years, 1 month ago (2013-02-02 02:08:13 UTC) #9
rsc
12 years, 1 month ago (2013-02-02 02:08:15 UTC) #10
mikio
Hello minux.ma@gmail.com, bradfitz@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 1 month ago (2013-02-02 02:22:53 UTC) #11
bradfitz
LGTM On Fri, Feb 1, 2013 at 6:22 PM, <mikioh.mikioh@gmail.com> wrote: > Hello minux.ma@gmail.com, bradfitz@golang.org, ...
12 years, 1 month ago (2013-02-04 17:29:26 UTC) #12
mikio
12 years, 1 month ago (2013-02-04 21:54:05 UTC) #13
*** Submitted as https://code.google.com/p/go/source/detail?r=00a88d8b0fad ***

syscall: regenerate ztype files for linux

This CL adds TCPInfo struct to linux/386,arm.
It's already added to linux/amd64.

Note that not sure the reason but cgo godefs w/ latest gcc
translates a flexible array member in structures correctly,
handles it as a non-incomplete, non-opaque type, on Go 1.
This CL reverts such changes by hand for the Go 1 contract.

R=minux.ma, bradfitz, rsc
CC=golang-dev
https://codereview.appspot.com/7197046
Sign in to reply to this message.

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