aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.c
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2014-10-28 22:44:59 +0100
committerDavid du Colombier <0intro@gmail.com>2014-10-28 22:44:59 +0100
commit5f54f06a359f2973521ff3f42899c12d3a6a7fed (patch)
treef97705e681056e55f41656343e2951f43dc625bf /src/runtime/stack.c
parent982dcb249d107c1cab844912583c5eca0a07a00f (diff)
downloadgo-5f54f06a359f2973521ff3f42899c12d3a6a7fed.tar.xz
os: fix write on Plan 9
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://golang.org/cl/163510043
Diffstat (limited to 'src/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions