You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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.
The text was updated successfully, but these errors were encountered:
hirochachacha
changed the title
x/sys/unix: wrong Dirent is used in linux mips64x.
x/sys/unix: wrong Dirent is defined in linux mips64x.
Jul 20, 2016
syscall
package definesOn the other hand,
x/sys/unix
package definesx/sys/unix
should be fixed.The text was updated successfully, but these errors were encountered: