]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Cope with a (non-standard) ENAMETOOLONG return from gethostname(); glibc will
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Mon, 5 Jan 2009 01:01:58 +0000 (01:01 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Mon, 5 Jan 2009 01:01:58 +0000 (01:01 +0000)
commit030046a2a81213921d9ad61b102f63343a9a4e57
treea7c9946400615a5f8f7be569d6f0a5a17c2d3bdf
parent07a876ce1e7164c40192f36a9159e9445356d3d1
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.)

[originally from svn r8383]
unix/ux_x11.c