Closed
Description
syscall
package defines
// Note: on mips64, we're using the getdents syscall,
// so the Dirent struct is different.
type Dirent struct {
Ino uint64
Off int64
Reclen uint16
Name [256]int8
Type uint8
Pad_cgo_0 [5]byte
}
On the other hand, x/sys/unix
package defines
type Dirent struct {
Ino uint64
Off int64
Reclen uint16
Type uint8
Name [256]int8
Pad_cgo_0 [5]byte
}
x/sys/unix
should be fixed.
Activity
[-]x/sys/unix: wrong Dirent is used in linux mips64x.[/-][+]x/sys/unix: wrong Dirent is defined in linux mips64x.[/+]bradfitz commentedon Jul 20, 2016
Why was this closed?
bradfitz commentedon Jul 20, 2016
Oh, I see #16399 (comment)