From 52dbaa4ac10b292e33fd7cc5105a44d159f66357 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 29 Sep 2016 07:00:31 +0000 Subject: [PATCH] - Fix #838: 1.5.10 cannot be built on Solaris, undefined PATH_MAX. git-svn-id: file:///svn/unbound/trunk@3871 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 3 +++ smallapp/unbound-checkconf.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index 678fa96be..907197492 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +29 September 2016: Wouter + - Fix #838: 1.5.10 cannot be built on Solaris, undefined PATH_MAX. + 27 September 2016: Wouter - tag for 1.5.10 release - trunk contains 1.5.11 in development. diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index 51f8e648a..e4c36c81c 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -486,7 +486,7 @@ check_hints(struct config_file* cfg) static void checkconf(const char* cfgfile, const char* opt, int final) { - char oldwd[PATH_MAX]; + char oldwd[4096]; struct config_file* cfg = config_create(); if(!cfg) fatal_exit("out of memory");