From 1f208ea60dc56f0dad9c31b1581a3fe98d899e7a Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Wed, 30 Nov 2011 19:38:38 +0000 Subject: [PATCH] from Roger Dannenberg - Workaround for path bug. The correct fix is to remove the duplicated code. --- lib-src/libnyquist/nyx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/libnyquist/nyx.c b/lib-src/libnyquist/nyx.c index 0c8581e49..b02144e6e 100644 --- a/lib-src/libnyquist/nyx.c +++ b/lib-src/libnyquist/nyx.c @@ -1520,7 +1520,7 @@ void get_xlisp_path(char *p, long p_max) } strncpy(p, paths, p_max); - p[p_max] = 0; + p[p_max-1] = 0; } #endif