]> Cypherpunks repositories - gostls13.git/commitdiff
log/syslog: disable on Windows
authorRuss Cox <rsc@golang.org>
Fri, 17 Feb 2012 03:04:13 +0000 (22:04 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 17 Feb 2012 03:04:13 +0000 (22:04 -0500)
We want to be able to implement good Windows support
after Go 1.  Right now Windows tries to use Unix domain
sockets, and I'd rather just have it not be available.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5671076

src/pkg/log/syslog/syslog.go
src/pkg/log/syslog/syslog_test.go
src/pkg/log/syslog/syslog_unix.go

index 3eb5353e9a9b8ae73854d883ac0f73787942267e..f53310cb0a1fd63c03958026ff10a50e5e1bc668 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build !windows,!plan9
+
 // Package syslog provides a simple interface to the system log service. It
 // can send messages to the syslog daemon using UNIX domain sockets, UDP, or
 // TCP connections.
index 7f509b3666e81574aea51f5ba70b032e486326c1..0fd6239059a3d0645eaf0376007ddc09612a8125 100644 (file)
@@ -1,6 +1,9 @@
 // Copyright 2009 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
+
+// +build !windows,!plan9
+
 package syslog
 
 import (
index b1c929ad2fe0cfa79ff59d2da1a52bdfd49796f9..46a164dd5773b07b4cb53c7a9d325a8f78966e63 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build !windows,!plan9
+
 package syslog
 
 import (