summaryrefslogtreecommitdiff
path: root/src/os/file_plan9.go
Commit message (Collapse)AuthorAgeFilesLines
* os: document that users of Fd should keep f aliveRuss Cox2014-11-061-1/+2
| | | | | | | | | Fixes issue 9046. LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/162680043
* os: fix write on Plan 9David du Colombier2014-10-281-0/+3
| | | | | | | | | | | | | | | | | | In CL 160670043 the write function was changed so a zero-length write is now allowed. This leads the ExampleWriter_Init test to fail. The reason is that Plan 9 preserves message boundaries, while the os library expects systems that don't preserve them. We have to ignore zero-length writes so they will never turn into EOF. This issue was previously discussed in CL 7406046. LGTM=bradfitz R=rsc, bradfitz CC=golang-codereviews https://codereview.appspot.com/163510043
* os: do not assume syscall i/o funcs return n=0 on errorRuss Cox2014-10-281-7/+4
| | | | | | | | | Fixes issue 9007. LGTM=iant, r R=r, iant CC=golang-codereviews https://codereview.appspot.com/160670043
* build: move package sources from src/pkg to srcRuss Cox2014-09-081-0/+468
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.