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

Issue 5447061: code review 5447061: time: fix Plan 9 build for new API (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by ality
Modified:
13 years, 9 months ago
Reviewers:
CC:
lucio, rsc, brainman, golang-dev
Visibility:
Public.

Description

time: fix Plan 9 build for new API I had to move readFile into sys_$GOOS.go since syscall.Open takes only two arguments on Plan 9.

Patch Set 1 #

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

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

Total comments: 1

Patch Set 4 : diff -r 491f09162844 https://code.google.com/p/go/ #

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -82 lines) Patch
M src/pkg/runtime/plan9/thread.c View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M src/pkg/time/Makefile View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/pkg/time/sleep.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
R src/pkg/time/sys.go View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
M src/pkg/time/sys_plan9.go View 1 1 chunk +30 lines, -0 lines 0 comments Download
M src/pkg/time/sys_unix.go View 1 1 chunk +26 lines, -0 lines 0 comments Download
M src/pkg/time/zoneinfo_plan9.go View 1 2 3 4 1 chunk +136 lines, -45 lines 0 comments Download

Messages

Total messages: 9
ality
Hello lucio.dere@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
13 years, 9 months ago (2011-12-01 10:07:38 UTC) #1
rsc
On a related note, could someone look into why, on a Linux or OS X ...
13 years, 9 months ago (2011-12-01 17:44:30 UTC) #2
brainman
http://codereview.appspot.com/5447061/diff/5001/src/pkg/time/sys_windows.go File src/pkg/time/sys_windows.go (right): http://codereview.appspot.com/5447061/diff/5001/src/pkg/time/sys_windows.go#newcode18 src/pkg/time/sys_windows.go:18: func readFile(name string) ([]byte, error) { This function is ...
13 years, 9 months ago (2011-12-01 22:48:40 UTC) #3
brainman
Unix and windows parts are LGTM now. Thank you. Sorry, but I don't know enough ...
13 years, 9 months ago (2011-12-04 08:06:39 UTC) #4
lucio
I trust Anthony more than I trust myself, but it's along the lines of what ...
13 years, 9 months ago (2011-12-07 06:20:28 UTC) #5
rsc
Looks pretty good if you eliminate the dependencies. Thanks. http://codereview.appspot.com/5447061/diff/2003/src/pkg/time/zoneinfo_plan9.go File src/pkg/time/zoneinfo_plan9.go (right): http://codereview.appspot.com/5447061/diff/2003/src/pkg/time/zoneinfo_plan9.go#newcode11 src/pkg/time/zoneinfo_plan9.go:11: ...
13 years, 9 months ago (2011-12-07 21:31:51 UTC) #6
ality
https://codereview.appspot.com/5447061/diff/2003/src/pkg/time/zoneinfo_plan9.go File src/pkg/time/zoneinfo_plan9.go (right): https://codereview.appspot.com/5447061/diff/2003/src/pkg/time/zoneinfo_plan9.go#newcode11 src/pkg/time/zoneinfo_plan9.go:11: "strconv" On 2011/12/07 21:31:52, rsc wrote: > Please do ...
13 years, 9 months ago (2011-12-11 02:46:30 UTC) #7
rsc
LGTM
13 years, 9 months ago (2011-12-12 21:10:40 UTC) #8
rsc
13 years, 9 months ago (2011-12-12 21:12:24 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=f6048ea55080 ***

time: fix Plan 9 build for new API

I had to move readFile into sys_$GOOS.go
since syscall.Open takes only two arguments
on Plan 9.

R=lucio.dere, rsc, alex.brainman
CC=golang-dev
http://codereview.appspot.com/5447061

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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