From root@ntstn.sasknow.com  Thu Feb 10 22:39:41 2000
Return-Path: <root@ntstn.sasknow.com>
Received: from ntstn.sasknow.com (h139-142-245-100.ss.fiberone.net [139.142.245.100])
	by builder.freebsd.org (Postfix) with ESMTP id 399C846A2
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 10 Feb 2000 22:39:40 -0800 (PST)
Received: (from root@localhost)
	by ntstn.sasknow.com (8.9.3/8.9.3) id SAA01892;
	Thu, 10 Feb 2000 18:39:40 -0600 (CST)
	(envelope-from root)
Message-Id: <200002110039.SAA01892@ntstn.sasknow.com>
Date: Thu, 10 Feb 2000 18:39:40 -0600 (CST)
From: Ryan Thompson <ryan@sasknow.com>
Sender: root@ntstn.sasknow.com
Reply-To: Ryan Thompson <ryan@sasknow.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: /bin/lastcomm: output contains extraneous trailing spaces
X-Send-Pr-Version: 3.2

>Number:         16649
>Category:       bin
>Synopsis:       /bin/lastcomm: output contains extraneous trailing spaces
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mikeh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 22:40:00 PST 2000
>Closed-Date:    Sat Jun 30 08:16:43 PDT 2001
>Last-Modified:  Sat Jun 30 08:18:44 PDT 2001
>Originator:     Ryan Thompson
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
SaskNow Technologies
>Environment:

>Description:

	lastcomm output contains extra trailing spaces after the start or
	stop time is displayed, causing lines to wrap needlessly on 80
	character terminals.

>How-To-Repeat:

	# lastcomm

>Fix:
	
	Apply the following simple patch to remove the needless extra
	spaces from the two fields.  The change is a cosmetic one, but
	I've been annoyed long enough with the wrapped lines on my 
	terminal.

===================================================================
RCS file: lastcomm.c,v
retrieving revision 1.1
diff -r1.1 lastcomm.c
212c212
< 			(void)printf("%.16s ", ctime(&ab.ac_btime));
---
> 			(void)printf("%.16s", ctime(&ab.ac_btime));
219c219
< 			(void)printf("%.16s ", 
---
> 			(void)printf("%.16s",


>Release-Note:
>Audit-Trail:

From: Ryan Thompson <freebsd@sasknow.com>
To: Ryan Thompson <ryan@sasknow.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/16649: /bin/lastcomm: output contains extraneous trailing
 spaces
Date: Fri, 11 Feb 2000 00:41:46 -0600 (CST)

 On Thu, 10 Feb 2000, Ryan Thompson wrote:
 
 > 
 > >Number:         16649
 > >Category:       bin
 > >Synopsis:       /bin/lastcomm: output contains extraneous trailing spaces
 
 		   ^^ /usr/bin, naturally.  Sorry :-(
 
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Thu Feb 10 22:40:00 PST 2000
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Ryan Thompson
 > >Release:        FreeBSD 3.4-STABLE i386
 > >Organization:
 > SaskNow Technologies
 > >Environment:
 > 
 > >Description:
 > 
 > 	lastcomm output contains extra trailing spaces after the start or
 > 	stop time is displayed, causing lines to wrap needlessly on 80
 > 	character terminals.
 > 
 > >How-To-Repeat:
 > 
 > 	# lastcomm
 > 
 > >Fix:
 > 	
 > 	Apply the following simple patch to remove the needless extra
 > 	spaces from the two fields.  The change is a cosmetic one, but
 > 	I've been annoyed long enough with the wrapped lines on my 
 > 	terminal.
 > 
 > ===================================================================
 > RCS file: lastcomm.c,v
 > retrieving revision 1.1
 > diff -r1.1 lastcomm.c
 > 212c212
 > < 			(void)printf("%.16s ", ctime(&ab.ac_btime));
 > ---
 > > 			(void)printf("%.16s", ctime(&ab.ac_btime));
 > 219c219
 > < 			(void)printf("%.16s ", 
 > ---
 > > 			(void)printf("%.16s",
 > 
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-bugs" in the body of the message
 > 
 
 -- 
 --
   Ryan Thompson <ryan@sasknow.com>	50% Owner, Sysadmin
   SaskNow Technologies     		http://www.sasknow.com
   #106-380 3120 8th St E   		Saskatoon, SK  S7H 0W2
 
 
State-Changed-From-To: open->analyzed 
State-Changed-By: mikeh 
State-Changed-When: Sat Jun 16 00:10:32 PDT 2001 
State-Changed-Why:  
Fix committed to current. 


Responsible-Changed-From-To: freebsd-bugs->	 mikeh 
Responsible-Changed-By: mikeh 
Responsible-Changed-When: Sat Jun 16 00:10:32 PDT 2001 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16649 
State-Changed-From-To: analyzed->closed 
State-Changed-By: mikeh 
State-Changed-When: Sat Jun 30 08:16:43 PDT 2001 
State-Changed-Why:  
Fix has been MFC'd. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16649 
>Unformatted:
