Skip to content
Commit 5ab630b5 authored by Niclas Zeising's avatar Niclas Zeising
Browse files

Only use sysconf() if HOST_NAME_MAX is undefined

On some systsems sysconf() can return a very large value, unsuitable for
use with malloc().  Only use sysconf() if HOST_NAME_MAX isn't avalable.
parent 873c84f0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment