Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

Adam Jackson ajax at redhat.com
Mon Sep 24 13:07:26 PDT 2012


On Mon, 2012-09-24 at 15:31 -0400, Robert Heller wrote:

> If <hostname> is longer than 33 characers, the server can't locate/open
> the config file. I'm guessing someone is using a fixed size buffer (#1
> nono!) that is not big enough.  Yes, some of use use long and meaningful
> domain and host names...

The hostname buffer is a fixed length anyway, see man gethostname.  But
that you're seeing truncation to 33 bytes is certainly a server bug, I
think the MAXHOSTNAMELEN code in hw/xfree86/parser/scan.c should just be
talking about HOST_NAME_MAX like the gethostname man page suggests.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20120924/04d5e9a6/attachment.pgp>


More information about the xorg mailing list