-
Notifications
You must be signed in to change notification settings - Fork 18k
x/sys/unix: missing Fallocate constants #10599
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
Comments
This issue is still present in latest source. |
Usually patches sent to the issue tracker are not looked at; patches should be sent via gerrit, see contribuing - code review. |
No, it would be better to change the relevant script. |
I just submitted the patch to gerrit: (by the way: the contribution procedure to golang is a pain in the ass) |
CL https://golang.org/cl/36336 mentions this issue. |
I'd like to use the
Fallocate
function fromgolang.org/x/sys/unix
but found that it's missing theFALLOC_FL_*
constants from/usr/include/linux/falloc.h
. I believe the following patch togolang.org/x/sys/unix/mkerrors.sh
should address the issue:Thanks,
— Scott
The text was updated successfully, but these errors were encountered: