]> Cypherpunks repositories - gostls13.git/commit
log/syslog: restore use of serverConn interface
authorIan Lance Taylor <iant@golang.org>
Wed, 24 Jul 2013 17:28:57 +0000 (10:28 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 24 Jul 2013 17:28:57 +0000 (10:28 -0700)
commit0738c7e977b3ac190d6176555b69c8e9d2fb4de6
treeebcc8b34847e421c315b10f567fb98403fde2edb
parent3453a2204b07bfbc2ab42f2add7911f4c1bdb63c
log/syslog: restore use of serverConn interface

Revision 15629 (8d71734a0cb0) removed the serverConn interface
that was introduce in revision 7718 (ee5e80c62862).  The
serverConn interface was there for use by gccgo on Solaris,
and it is still needed there.  Solaris does not support
connecting to the syslog daemon over TCP, and gccgo simply
calls the C library function.  This CL restores the
interface.

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/11737043
src/pkg/log/syslog/syslog.go
src/pkg/log/syslog/syslog_unix.go