mirror of
https://github.com/golang/go
synced 2024-11-24 12:20:17 -07:00
5a7cfbc011
make fixedSize, oldFixedSize constants. use st instead of stat for function arg so that we do not shadow the stat() function. dstPos+reclen == len(buf) is a valid write location, update the break condition. Change-Id: I55f9210f54d24a3f9cda1ebab52437436254f8f4 Reviewed-on: https://go-review.googlesource.com/c/143637 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
13 lines
304 B
Go
13 lines
304 B
Go
// Copyright 2018 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.
|
|
|
|
package syscall
|
|
|
|
type Dirent_freebsd11 = dirent_freebsd11
|
|
|
|
var (
|
|
Roundup = roundup
|
|
ConvertFromDirents11 = convertFromDirents11
|
|
)
|