(xgethostname): Check for ENOMEM, which is
authorJim Meyering <jim@meyering.net>
Sun, 20 Feb 2005 16:35:32 +0000 (16:35 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 20 Feb 2005 16:35:32 +0000 (16:35 +0000)
commit6ed4bcdc2140464d94147f8c53cccd7e3edfe11a
treec747cfd4d48df715bd950a6bb1a1b2498284fbc1
parentbd955ebc245646f3116ed8eaf6b8ce1f2d54c28b
(xgethostname): Check for ENOMEM, which is
returned by OSX/Darwin if the specified buffer is not large
enough for the hostname.
lib/xgethostname.c