From c084a4e8402b1a45f3897861c7b742e5c4e30638 Mon Sep 17 00:00:00 2001 From: Albert Chu Date: Fri, 16 Aug 2024 14:45:43 -0700 Subject: [PATCH] nodeattr: increase hostlist buffer size Problem: As clusters get larger, some internal buffers used by hostlist API functions are now too small. Increase the buffer used in nodeattr from 1K to 64K, matching what is used in libgenders. Fixes #62 --- src/nodeattr/nodeattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodeattr/nodeattr.c b/src/nodeattr/nodeattr.c index 86099d2..59b1498 100644 --- a/src/nodeattr/nodeattr.c +++ b/src/nodeattr/nodeattr.c @@ -106,7 +106,7 @@ static char *_node_create(genders_t gp); static char *_attr_create(genders_t gp); #endif -#define HOSTLIST_BUFLEN 1024 +#define HOSTLIST_BUFLEN 65536 int main(int argc, char *argv[])