Cope with a (non-standard) ENAMETOOLONG return from gethostname(); glibc will
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 5 Jan 2009 01:01:58 +0000 (01:01 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 5 Jan 2009 01:01:58 +0000 (01:01 +0000)
commit2726fc1597458c37f9cff83177ddb8d389eceb05
treea7c9946400615a5f8f7be569d6f0a5a17c2d3bdf
parentd36df6852e9caa3e261c77dc4623d25b6299c490
Cope with a (non-standard) ENAMETOOLONG return from gethostname(); glibc will
do this if the supplied buffer isn't big enough, which shouldn't lead to
complete abandonment of X11 auth. (Would only have bitten with hostnames
>255 chars anyway.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@8383 cda61777-01e9-0310-a592-d414129be87e
unix/ux_x11.c