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

Don't add whitespace to sys/sysnb syscall function wrapper comments #11

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

tklauser
Copy link
Contributor

The syscall and golang.org/x/sys packages use //sys and //sysnb comments
to declare system call function wrapper prototypes. Those get read by
mksyscall.go to generate the actual syscall wrappers and it expects the
comments without a whitespace.

The syscall and golang.org/x/sys packages use //sys and //sysnb comments
to declare system call function wrapper prototypes. Those get read by
mksyscall.go to generate the actual syscall wrappers and it expects the
comments without a whitespace.
Copy link
Owner

@mvdan mvdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agh, yet more non-standard directives. Thanks for the patch.

@mvdan mvdan merged commit 1d9fd24 into mvdan:master Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants