Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect padding in ztypes_freebsd_amd64.go #90

Open
dmgk opened this issue Dec 26, 2019 · 1 comment
Open

Incorrect padding in ztypes_freebsd_amd64.go #90

dmgk opened this issue Dec 26, 2019 · 1 comment

Comments

@dmgk
Copy link

dmgk commented Dec 26, 2019

Pad_cgo_0 [4]byte

Should be just

type fiodgnameArg struct {
        Len     int32
        Buf     *byte
}

according to go tool cgo -godefs types_freebsd.go

@krader1961
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants