From 0581dd366ef59d6998e158e0c414a44e85a2dd58 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Sat, 22 Sep 2007 00:25:26 +0000
Subject: [PATCH] svn merge -r12384:12393
 https://eris.llnl.gov/svn/slurm/branches/slurm-1.2

---
 src/common/hostlist.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/common/hostlist.c b/src/common/hostlist.c
index 521554ca496..f048a4b0872 100644
--- a/src/common/hostlist.c
+++ b/src/common/hostlist.c
@@ -574,11 +574,8 @@ static hostname_t hostname_create(const char *hostname)
 	hn->num = 0;
 	hn->prefix = NULL;
 	hn->suffix = NULL;
-#ifdef HAVE_BG
-	if (idx == (strlen(hostname) - 4)) {
-#else
+
 	if (idx == (strlen(hostname) - 1)) {
-#endif
 		if ((hn->prefix = strdup(hostname)) == NULL) {
 			hostname_destroy(hn);
 			out_of_memory("hostname prefix create");
-- 
GitLab