{"thread":{"id":"5735","subject":"[PATCH/RFC] daemon: default to 256 for HOST_NAME_MAX if it is not defined","startedAt":"2006-09-28T10:00:35Z","lastAt":"2006-09-28T10:00:35Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"27882","messageId":"Pine.LNX.4.63.0609281200200.14200@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"5735","inReplyTo":null,"subject":"[PATCH/RFC] daemon: default to 256 for HOST_NAME_MAX if it is not defined","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-09-28T10:00:35Z","receivedAt":"2006-09-28T10:00:35Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n---\n\t... or should we make it wider available, by putting it into\n\tcache.h?\n\n daemon.c |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n\ndiff --git a/daemon.c b/daemon.c\nindex 5335d21..fc3951c 100644\n--- a/daemon.c\n+++ b/daemon.c\n@@ -15,6 +15,10 @@ #include \"cache.h\"\n #include \"exec_cmd.h\"\n #include \"interpolate.h\"\n \n+#ifndef HOST_NAME_MAX\n+#define HOST_NAME_MAX 256\n+#endif\n+\n static int log_syslog;\n static int verbose;\n static int reuseaddr;\n-- \n1.4.2.1.g430572-dirty\n"}]}