Skip to content

Update postsrsd.c#117

Merged
roehling merged 2 commits intoroehling:masterfrom
spzeidler:spzeidler-patch-1
Jul 13, 2021
Merged

Update postsrsd.c#117
roehling merged 2 commits intoroehling:masterfrom
spzeidler:spzeidler-patch-1

Conversation

@spzeidler
Copy link
Copy Markdown

Some OSes like e.g. the BSDs have the connection inherit O_NONBLOCK.
The result does not prevent postsrsd from working, but causes a syslogged error for roughly every other connection from cleanup.
Removing the flag is a NOP if it's not set, so this change doesn't require an OS-dependent ifdef.

spzeidler and others added 2 commits July 10, 2021 07:35
Some OSes like e.g. the BSDs have the connection inherit O_NONBLOCK.
The result does not prevent postsrsd from working at all, but causes a syslogged error for roughly every other connection from cleanup.
Removing the flag is a NOP if it's not set, so this change doesn't require an OS-dependent ifdef.
@roehling roehling merged commit afa2ca1 into roehling:master Jul 13, 2021
@roehling
Copy link
Copy Markdown
Owner

Thank you for the pull request!

jeredfloyd pushed a commit to jeredfloyd/postsrsd that referenced this pull request May 4, 2022
* Update postsrsd.c

Some OSes like e.g. the BSDs have the connection inherit O_NONBLOCK.
The result does not prevent postsrsd from working at all, but causes a syslogged error for roughly every other connection from cleanup.
Removing the flag is a NOP if it's not set, so this change doesn't require an OS-dependent ifdef.

* Reformat source code

Co-authored-by: Timo Röhling <timo@gaussglocke.de>
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