From tom@haven.uniserve.com  Sun Jun  4 21:09:16 1995
Received: from haven.uniserve.com (haven.uniserve.com [198.53.215.121])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA17071
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 4 Jun 1995 21:08:55 -0700
Received: by haven.uniserve.com id <30755>; Sun, 4 Jun 1995 21:09:41 +0100
Message-Id: <95Jun4.210941+0100_pdt.30755+3004@haven.uniserve.com>
Date: Sun, 4 Jun 1995 21:09:28 +0100
From: tom@haven.uniserve.com
Reply-To: tom@haven.uniserve.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: ls requires utmp.h?
X-Send-Pr-Version: 3.2

>Number:         486
>Category:       bin
>Synopsis:       ls includes utmp.h but doesn't use it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun  4 21:10:01 1995
>Closed-Date:    Sat Jan 20 02:31:25 PST 1996
>Last-Modified:  Sat Jan 20 02:32:01 PST 1996
>Originator:     Tom Samplonius
>Release:        FreeBSD 2.0-BUILT-19950529 i386
>Organization:
>Environment:

  FreeBSD 2.0.X


>Description:

  print.c in /usr/src/bin/ls includes utmp.h but doesn't need to (I re-compiled with #include <utmp.h> commented out with no errors).  Is there is something
missing in print.c that used to require utmp.h?

>How-To-Repeat:

  Comment out #include <utmp.h> and re-compile.


>Fix:
	
  - remove #include <utmp.h>, or
  - fix whatever bit in print.c should be using utmp.h
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sat Jan 20 02:31:25 PST 1996 
State-Changed-Why:  
Fixed in rev 1.8 of bin/ls/print.c. 
>Unformatted:


