From e5078b63f1ac03a53f8aaa2f7ca75316b9841eaa Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Wed, 16 Feb 2005 21:56:05 +0000
Subject: [PATCH] Change default sinfo time limit to have 10 bytes (up from 9).

---
 NEWS                 | 5 +++++
 doc/man/man1/sinfo.1 | 8 ++++----
 src/sinfo/opts.c     | 6 +++---
 3 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/NEWS b/NEWS
index 6d593479eda..e6e821041bc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
 This file describes changes in recent versions of SLURM. It primarily
 documents those changes that are of interest to users and admins. 
 
+* Changes in SLURM 0.4.5
+========================
+ -- Change sinfo default time limit field to have 10 bytes (up from 9)
+ -- Fix bug in bluegene partition selection (sorting bug)
+
 * Changes in SLURM 0.4.4
 ========================
  -- Fix race condition in slurmd seting pgid of spawned tasks for 
diff --git a/doc/man/man1/sinfo.1 b/doc/man/man1/sinfo.1
index 8ccf2b8065e..4e80919d0a6 100644
--- a/doc/man/man1/sinfo.1
+++ b/doc/man/man1/sinfo.1
@@ -1,4 +1,4 @@
-.TH SINFO "1" "April 2004" "sinfo 0.3" "Slurm components"
+.TH SINFO "1" "February 2005" "sinfo 0.4" "Slurm components"
 
 .SH "NAME"
 sinfo \- view information about SLURM nodes and partitions.
@@ -66,13 +66,13 @@ when running with various options are
 .RS
 .TP 15
 .I "default"
-"%9P %5a %.9l %.5D %6t %N"
+"%9P %5a %.10l %.5D %6t %N"
 .TP 
 .I "--summarize"
-"%9P %5a %.9l %15F %N"
+"%9P %5a %.10l %15F %N"
 .TP 
 .I "--long"
-"%9P %5a %.9l %.8s %4r %5h %10g %.5D %11T %N"
+"%9P %5a %.10l %.8s %4r %5h %10g %.5D %11T %N"
 .TP
 .I "--Node"
 "%#N %.5D %9P %6t"
diff --git a/src/sinfo/opts.c b/src/sinfo/opts.c
index 82a4d52e7b8..1d6baab1d79 100644
--- a/src/sinfo/opts.c
+++ b/src/sinfo/opts.c
@@ -187,7 +187,7 @@ extern void parse_command_line(int argc, char *argv[])
 
 	if ( params.format == NULL ) {
 		if ( params.summarize ) {
-			params.format = "%9P %.5a %.9l %.15F  %N";
+			params.format = "%9P %.5a %.10l %.15F  %N";
 
 		} else if ( params.node_flag ) {
 			params.node_field_flag = true;	/* compute size later */
@@ -205,8 +205,8 @@ extern void parse_command_line(int argc, char *argv[])
 
 		} else {
 			params.format = params.long_output ? 
-			  "%9P %.5a %.9l %.8s %.4r %.5h %.10g %.5D %.11T %N" :
-			  "%9P %.5a %.9l %.5D %.6t %N";
+			  "%9P %.5a %.10l %.8s %.4r %.5h %.10g %.5D %.11T %N" :
+			  "%9P %.5a %.10l %.5D %.6t %N";
 		}
 	}
 	_parse_format( params.format );
-- 
GitLab