]> Cypherpunks repositories - gostls13.git/commit
runtime: allow fake time writes to both stdout and stderr
authorAndrew Gerrand <adg@golang.org>
Tue, 13 Jan 2015 05:33:55 +0000 (16:33 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 13 Jan 2015 05:43:32 +0000 (05:43 +0000)
commit242050d07f1becd35d5990d7728403ea4eece5c3
treeddf8b123a849a29c150ca7da3f70f9fcc1a6d7f9
parent3ab4b68bc18927607d893bf747f8381c5902eb4a
runtime: allow fake time writes to both stdout and stderr

In the previous sandbox implementation we read all sandboxed output
from standard output, and so all fake time writes were made to
standard output. Now we have a more sophisticated sandbox server
(see golang.org/x/playground/sandbox) that is capable of recording
both standard output and standard error, so allow fake time writes to
go to either file descriptor.

Change-Id: I79737deb06fd8e0f28910f21f41bd3dc1726781e
Reviewed-on: https://go-review.googlesource.com/2713
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/sys_nacl_amd64p32.s