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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com