Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 1995 21:10:01 -0700
From:      tom@haven.uniserve.com
To:        freebsd-bugs
Subject:   bin/486: ls requires utmp.h?
Message-ID:  <199506050410.VAA17251@freefall.cdrom.com>
In-Reply-To: Your message of Sun, 4 Jun 1995 21:09:28 %2B0100 <95Jun4.210941%2B0100_pdt.30755%2B3004@haven.uniserve.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         486
>Category:       bin
>Synopsis:       ls includes utmp.h but doesn't use it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun  4 21:10:01 1995
>Originator:     Tom Samplonius
>Organization:
>Release:        FreeBSD 2.0-BUILT-19950529 i386
>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
>Audit-Trail:
>Unformatted:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506050410.VAA17251>