it makes perfect sense: if the length of the path is NETPATHLEN, length of
a string usually referring to
non-zero bytes, you need to allow for the terminating zero byte.
unfortunately, as you describe, it's a bit pointless because the dnsresolve
callers rely on the manual page
("The path name is guaranteed to be less than 40 bytes long") and use an
explicit constant 40
(others use something random, or know to use the undocumented NETPATHLEN).
confusion!

On 8 September 2012 23:27, <cinap_len...@gmx.de> wrote:

> conn->dir has NETPATHLEN+1 capacity (why? makes no sense..).

Reply via email to