On Mon, 2011-04-25 at 17:02 +0000, Johan Fornander wrote: > The source code in the official samba git (source/lib/util.c) seems to > use HOST_NAME_MAX and I found an inconsistency in the code base: > > source/lib/replace/replace.h: > 384 #ifndef HOST_NAME_MAX > 385 #define HOST_NAME_MAX 255 > > source/lib/replace/system/network.h > 269 #ifndef HOST_NAME_MAX > 270 #define HOST_NAME_MAX 256 > > Which one is used? Neither would/should be used as the Linux system headers already define HOST_NAME_MAX. These defines are only for platforms that don't have HOST_NAME_MAX.
Cheers, Jelmer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/735072 Title: The hostname proposed by installer is too long for file sharing to work correctly. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs