pty
pty copied to clipboard
Incorrect padding in ztypes_freebsd_amd64.go
https://github.com/creack/pty/blob/8ab47f72e8547a066b4ea926f4523775bc1a0ec2/ztypes_freebsd_amd64.go#L12
Should be just
type fiodgnameArg struct {
Len int32
Buf *byte
}
according to go tool cgo -godefs types_freebsd.go
@dmgk, What is the reason for your assertion that the padding isn't needed? The file was created by commit. It is possible that definition was incorrect (e.g., due to a copy/paste mistake) or, in the intervening six years, the definition has changed. Does the padding cause any problems?