mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6d068bc25b
Update golang.org/x/sys to 95c6576299259db960f6c5b9b69ea52422860fce in order to get the unix.Utsname with byte array instead of int8/uint8 members. This allows to use simple byte slice to string conversions instead of using charsToString or its open-coded version. Also see golang/go#20753 for details. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
25 lines
450 B
Go
25 lines
450 B
Go
// Copyright 2012 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,!race
|
|
|
|
package windows
|
|
|
|
import (
|
|
"unsafe"
|
|
)
|
|
|
|
const raceenabled = false
|
|
|
|
func raceAcquire(addr unsafe.Pointer) {
|
|
}
|
|
|
|
func raceReleaseMerge(addr unsafe.Pointer) {
|
|
}
|
|
|
|
func raceReadRange(addr unsafe.Pointer, len int) {
|
|
}
|
|
|
|
func raceWriteRange(addr unsafe.Pointer, len int) {
|
|
}
|