Skip to content

Auto-port 5.0: Epoll: Cleanup code to always return negative value on failure#16600

Merged
normanmaurer merged 2 commits into
5.0from
auto-port-pr-16591-to-5.0
Apr 9, 2026
Merged

Auto-port 5.0: Epoll: Cleanup code to always return negative value on failure#16600
normanmaurer merged 2 commits into
5.0from
auto-port-pr-16591-to-5.0

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16591 to 5.0
Cherry-picked commit: ec36e8c


Motivation:

We usually use a negative value in case of an error but did not in one case. While this does not really matters in practise as weput an exception on the call stack we should be consistent.

Modifications:

Return negative value on fcntl failure

Result:

More consistent code base

Motivation:

We usually use a negative value in case of an error but did not in one
case. While this does not really matters in practise as weput an
exception on the call stack we should be consistent.

Modifications:

Return negative value on fcntl failure

Result:

More consistent code base

(cherry picked from commit ec36e8c)
@normanmaurer normanmaurer disabled auto-merge April 9, 2026 12:12
@normanmaurer normanmaurer merged commit aafb2cd into 5.0 Apr 9, 2026
12 of 13 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16591-to-5.0 branch April 9, 2026 12:12
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.

3 participants