Skip to content

Conversation

onionhammer
Copy link
Contributor

Updated ftpclient, irc and scgi to take fix into account

Updated ftpclient, irc and scgi to take fix into account
@Varriount
Copy link
Contributor

So, what about sockets does this fix?

@onionhammer
Copy link
Contributor Author

when select(readFds, writeFds, errorFds) returns, it is meant to leave any readFds/writeFds/errorFds in their corresponding sets iff the socket is available, the way it's implemented in nimrod's sockets.nim module is backwards, so if, for example, you pass in your listening socket into readFds, readFds DOESNT contain the listening socket IF the socket is ready to be read.

Clyybber pushed a commit to Clyybber/Nim that referenced this pull request Sep 16, 2023
## Summary

This fixes a legacy reports bug, where the migration stopped program
termination even when requiring a main module to exist. This now works
and a more approriate error message is provided instead of a path error.

## Details

`modules.wantMainModule` now generates an `rextCmdRequiresFile` (new
legacy report kind), which is treated as a fatal error by
`options.isCompilerFatal`. In addition a quick tests was added to ensure
this continues to function going forward.
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