Skip to content
Snippets Groups Projects
Commit 43202c17 authored by Danny Auble's avatar Danny Auble
Browse files

Merge remote-tracking branch 'origin/slurm-2.3'

Conflicts:
	NEWS
	src/sview/common.c
parents 28baad9d eb7f2d9c
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,10 @@ documents those changes that are of interest to users and admins. ...@@ -10,6 +10,10 @@ documents those changes that are of interest to users and admins.
(i.e. BP List -> MidplaneList). (i.e. BP List -> MidplaneList).
-- BLUEGENE - read MPs and BPs from the bluegene.conf -- BLUEGENE - read MPs and BPs from the bluegene.conf
* Changes in SLURM 2.3.1
========================
-- Fix for memory issue inside sview.
* Changes in SLURM 2.3.0 * Changes in SLURM 2.3.0
======================== ========================
-- BLUEGENE - make sure we only set the jobinfo_select start_loc on a job -- BLUEGENE - make sure we only set the jobinfo_select start_loc on a job
......
...@@ -953,11 +953,25 @@ extern void set_page_opts(int page, display_data_t *display_data, ...@@ -953,11 +953,25 @@ extern void set_page_opts(int page, display_data_t *display_data,
while ((col_name = list_next(itr))) { while ((col_name = list_next(itr))) {
replus(col_name); replus(col_name);
if (strstr(col_name, "list")) { if (strstr(col_name, "list")) {
char *orig_ptr = col_name;
xstrsubstitute(col_name, "bp ", "midplane"); xstrsubstitute(col_name, "bp ", "midplane");
if (cluster_flags & CLUSTER_FLAG_BG) if (cluster_flags & CLUSTER_FLAG_BG)
xstrsubstitute(col_name, "node", "midplane"); xstrsubstitute(col_name, "node", "midplane");
else else
xstrsubstitute(col_name, "midplane", "node"); xstrsubstitute(col_name, "midplane", "node");
/* Make sure we have the correct pointer here
since xstrsubstitute() could of changed it
on us.
*/
if (col_name != orig_ptr) {
list_insert(itr, col_name);
/* Don't use list_delete_item().
xstrsubstitute() has already
deleted it for us.
*/
list_remove(itr);
}
} }
while (display_data++) { while (display_data++) {
if (display_data->id == -1) if (display_data->id == -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment