summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
authormillert <>2005-07-24 18:47:59 +0000
committermillert <>2005-07-24 18:47:59 +0000
commit784cdc2a0a4ce17f4ae227250d54312c4574847e (patch)
treeeb0cf00f08dc3ed1f673a01564de41c73162d6c4 /src/lib/libc/stdlib/getopt.3
parent16995c81478ea86d9b0d1ed0b4ca140b296d023f (diff)
downloadopenbsd-784cdc2a0a4ce17f4ae227250d54312c4574847e.tar.gz
openbsd-784cdc2a0a4ce17f4ae227250d54312c4574847e.tar.bz2
openbsd-784cdc2a0a4ce17f4ae227250d54312c4574847e.zip
In _gethtent() ignore host.h_length if it is set to 0. Previously
we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@
Diffstat (limited to 'src/lib/libc/stdlib/getopt.3')
0 files changed, 0 insertions, 0 deletions