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

Added Path as possible argument type to UNIXSocket and UNIXServer #15260

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

BigBoyBarney
Copy link
Contributor

@BigBoyBarney BigBoyBarney commented Dec 9, 2024

As outlined in #15259, UNIXSocket, UNIXServer and UNIXAddress should accept Path | String, like File does.

I based the implementation off that in File.

I couldn't run the specs due to some obscure error though, but for FWIW that fails for me on 1.15-dev and 1.14.0 without these changes as well 🤷
image

@BigBoyBarney BigBoyBarney marked this pull request as draft December 9, 2024 16:41
@BigBoyBarney BigBoyBarney marked this pull request as ready for review December 9, 2024 17:09
src/socket/unix_server.cr Outdated Show resolved Hide resolved
@straight-shoota
Copy link
Member

The linker error might be due to #13193
Installing ldd should help.

@BigBoyBarney
Copy link
Contributor Author

BigBoyBarney commented Dec 9, 2024

Yep, can confirm installing ldd solved it! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants