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

tools/mkwinsyscall: remove errnoERROR_IO_PENDING const #260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thaJeztah
Copy link
Contributor

From the looks of it, this const is redundant (but perhaps there's something I'm overlooking 😅)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah requested a review from a team as a code owner October 9, 2022 12:05
Copy link
Contributor

@helsaawy helsaawy left a comment

Choose a reason for hiding this comment

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

From what i am able to tell, errnoERROR_IO_PENDING was originally added for WSAEINPROGRESS, which leads me to believe it was added like the because syscall doesnt define it as an error number:
https://go-review.googlesource.com/c/go/+/28484/4/src/syscall/mksyscall_windows.go

Since windows defers tosyscall.Errno, this shouldnt cause weird type conversion issues either....

@helsaawy helsaawy self-requested a review October 11, 2022 16:37
Copy link
Contributor

@helsaawy helsaawy left a comment

Choose a reason for hiding this comment

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

you will need to add a "windowsdot": windowsdot, line in the funcMap on line 852 so that windowsdot in the template works

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.

None yet

2 participants