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

Refactoring after #216 changes #218

Merged
merged 2 commits into from
Aug 4, 2016
Merged

Conversation

enolan
Copy link
Contributor

@enolan enolan commented Aug 3, 2016

This gets rid of a decent chunk of code.

About the test changes: I added a test for the behavior with ByteString and one for String. I got rid of Regression.Issue215 since it's now redundant and the new ones are much shorter. They're in simple rather than regression for two reasons. First, tcpTest is available there, and second because the String one isn't a regression and it doesn't make sense to split the pair.

@kazu-yamamoto kazu-yamamoto merged commit a82a401 into haskell:master Aug 4, 2016
@kazu-yamamoto
Copy link
Collaborator

I did the following two things:

  • Replacing tests/Simple.hs in v2.6.3.0 with yours and confirming that one test fails
  • Confirming that this pull request fixes the failure

So, I have merged this. This patch makes source and test code much more beautiful. Thank you for your contribution!

@eborden eborden mentioned this pull request May 16, 2017
eborden added a commit that referenced this pull request May 17, 2017
 * Zero memory of `sockaddr_un` if abstract socket
   [#220](#220)

 * Improving error messages
   [#232](#232)

 * Allow non-blocking file descriptors via `setNonBlockIfNeeded`
   [#242](#242)

 * Update config.{guess,sub} to latest version
   [#244](#244)

 * Rename `my_inet_ntoa` to avoid symbol conflicts
   [#228](#228)

 * Test infrastructure improvements
   [#219](#219)
   [#217](#217)
   [#218](#218)

 * House keeping and cleanup
   [#238](#238)
   [#237](#237)
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