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

Issue 6268045: code review 6268045: syscall: use pipe instead of pipe2 on NetBSD (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by bsiegert
Modified:
12 years, 11 months ago
Reviewers:
CC:
jsing, golang-dev
Visibility:
Public.

Description

syscall: use pipe instead of pipe2 on NetBSD pipe2 is equivalent to pipe with flags set to 0. However, pipe2 was only added recently. Using pipe instead improves compatibility with NetBSD 5.

Patch Set 1 #

Patch Set 2 : diff -r 45d1063d8520 http://code.google.com/p/go #

Patch Set 3 : diff -r 45d1063d8520 http://code.google.com/p/go #

Patch Set 4 : diff -r 45d1063d8520 http://code.google.com/p/go #

Patch Set 5 : diff -r bff65816ad27 http://code.google.com/p/go #

Patch Set 6 : diff -r bff65816ad27 http://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M src/pkg/syscall/syscall_netbsd.go View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M src/pkg/syscall/zsyscall_netbsd_386.go View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M src/pkg/syscall/zsyscall_netbsd_amd64.go View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 10
bsiegert
Hello jsing@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to http://code.google.com/p/go
13 years, 2 months ago (2012-06-03 14:26:30 UTC) #1
bsiegert
I am trying to run go on NetBSD-5.99.51, which I cannot upgrade due to other ...
13 years, 2 months ago (2012-06-03 14:33:20 UTC) #2
bsiegert
Found it. The signature is fd1, fd2, err = pipe().
13 years, 2 months ago (2012-06-03 15:34:52 UTC) #3
bsiegert
Hello jsing@google.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2012-06-03 15:51:26 UTC) #4
bsiegert
Hello jsing@google.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2012-06-03 15:52:32 UTC) #5
jsing
On 2012/06/03 14:33:20, bsiegert wrote: > I am trying to run go on NetBSD-5.99.51, which ...
13 years, 2 months ago (2012-06-03 17:11:19 UTC) #6
bsiegert
> I think that we probably do not want to officially support Go on NetBSD ...
13 years, 2 months ago (2012-06-03 20:09:28 UTC) #7
jsing
On 2012/06/03 20:09:28, bsiegert wrote: > > I think that we probably do not want ...
13 years, 2 months ago (2012-06-04 15:27:51 UTC) #8
jsing
LGTM
13 years, 2 months ago (2012-06-04 15:28:08 UTC) #9
jsing
13 years, 2 months ago (2012-06-04 15:29:46 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=02305cc6b5de ***

syscall: use pipe instead of pipe2 on NetBSD

pipe2 is equivalent to pipe with flags set to 0.
However, pipe2 was only added recently. Using pipe
instead improves compatibility with NetBSD 5.

R=jsing
CC=golang-dev
http://codereview.appspot.com/6268045

Committer: Joel Sing <jsing@google.com>
Sign in to reply to this message.

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