|
Message-ID: <CAPG2z0-8u=CVrfyupz_cQ8wrZWveHrHSi3ur1JOGPcHWwWau9A@mail.gmail.com>
Date: Thu, 14 Feb 2019 16:59:05 +0800
From: He X <xw897002528@...il.com>
To: musl@...ts.openwall.com
Subject: maybe a smaller HOST_NAME_MAX?
in limits.h, glibc defines it as 64, musl has a valueof 255.
according a man page:
http://man7.org/linux/man-pages/man2/gethostname.2.html. HOST_NAME_MAX is
defined as 64 since linux 1.0. include/uapi/asm-generic/param.h could
verify that.
as musl targeted on linux-based devices, i think it makes sense to use a
smaller HOST_NAME_MAX.
--
Best regards,
xhe
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.