]> Cypherpunks repositories - gostls13.git/commit
runtime: send android stderr to /dev/log/main
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 10 Dec 2014 14:29:24 +0000 (09:29 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 10 Dec 2014 22:06:13 +0000 (22:06 +0000)
commitbee8ae11859d6d421027f012c3a7a3fc592f662d
treee6276b865fca48b47126dc8cdec54967e997732f
parent6820be25da81c1e647e3b807b70a5daf579bb6cf
runtime: send android stderr to /dev/log/main

I tried to submit this in Go 1.4 as cl/107540044 but tripped over the
changes for getting C off the G stack. This is a rewritten version that
avoids cgo and works directly with the underlying log device.

Change-Id: I14c227dbb4202690c2c67c5a613d6c6689a6662a
Reviewed-on: https://go-review.googlesource.com/1285
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/print1.go
src/runtime/print1_write.go [new file with mode: 0644]
src/runtime/print1_write_android.go [new file with mode: 0644]