Subject: bin/1344: sup -t doesn't use rel-suffix
To: None <gnats-bugs@gnats.netbsd.org>
From: Mike Long <mikel@shore.net>
List: netbsd-bugs
Date: 08/12/1995 00:42:36
>Number:         1344
>Category:       bin
>Synopsis:       sup -t doesn't use-rel-suffix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 12 00:50:01 1995
>Last-Modified:
>Originator:     Mike Long
>Organization:
	Bad Ideas, Inc.
>Release:        Aug 11 1995
>Environment:
System: NetBSD azathoth 1.0A NetBSD 1.0A (AZATHOTH_SB) #4: Wed Aug  9 22:04:50 EDT 1995     root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH_SB i386

>Description:
	As it is now, sup -t generates the following output.  The
various distributions are indistinguishable.  A bit useless, yes?

SUP 8.26 (4.3 BSD) for system software at Aug 12 00:33:55
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current
Last update occurred at Fri Aug 11 03:12:24 1995 for collection current

>How-To-Repeat:
	sup -t supfile
>Fix:
	Apply the following patch.  I will also send this to CMU as
required by the copyright notice in supcmisc.c.

*** /usr/othersrc/sup/supcmisc.c.orig   Sat Jun  3 17:23:19 1995
--- /usr/othersrc/sup/supcmisc.c        Fri Aug 11 01:06:33 1995
***************
*** 105,110 ****
        (void) strcpy (buf,ctime (&twhen));
        buf[strlen(buf)-1] = '\0';
!       loginfo ("Last update occurred at %s for collection %s",
!               buf,thisC->Cname);
  }
  
--- 105,110 ----
        (void) strcpy (buf,ctime (&twhen));
        buf[strlen(buf)-1] = '\0';
!       loginfo ("Last update occurred at %s for collection %s%s",
!               buf,thisC->Cname,relsufix);
  }
  
>Audit-Trail:
>Unformatted: