Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Update hostpid.c#233

Open
arjendekorte wants to merge1 commit intodovecot:main
base:main
Choose a base branch
Loading
fromarjendekorte:main
Open

Conversation

arjendekorte
Copy link
Contributor

Remove last instance of gethostbyname

Remove last instance of gethostbyname
@sirainen
Copy link
Contributor

Does it help fix something to get rid of gethostbyname()?

@arjendekorte
Copy link
ContributorAuthor

Well, gethostbyname is deprecated and not thread safe. Why use that if there is a thread safe alternative?

@sirainen
Copy link
Contributor

sirainen commentedJan 31, 2025
edited
Loading

I'm not necessarily against the change, but to answer the question: Because the old code is smaller, and it's known to work. And there are no threads in Dovecot, so that doesn't matter.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@arjendekorte@sirainen

[8]ページ先頭

©2009-2025 Movatter.jp