Subject: bin/2021: typo in src/gnu/usr.bin/diff/Makefile
To: None <gnats-bugs@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 02/04/1996 23:47:29
>Number:         2021
>Category:       bin
>Synopsis:       typo in src/gnu/usr.bin/diff/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb  5 00:35:44 1996
>Last-Modified:
>Originator:     Mike Long <mike.long@analog.com>
>Organization:
	Snowbound Hackers Anonymous
>Release:        950107
>Environment:
System: NetBSD azathoth 1.1A NetBSD 1.1A (AZATHOTH) #2: Thu Dec 21 01:14:17 EST 1995 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH i386

>Description:
	The SRCS list in src/gnu/usr.bin/diff/Makefile refers to
cmpbuf.o instead of cmpbuf.c.

>How-To-Repeat:
	cd /usr/src/gnu/usr.bin/diff
	make cleandir
	make depend

and wonder why cmpbuf.o is built.

>Fix:
	Apply the diff below.

*** src/gnu/usr.bin/diff/Makefile~ Fri Oct 13 20:13:21 1995
--- src/gnu/usr.bin/diff/Makefile  Mon Jan  8 21:21:44 1996
***************
*** 2,6 ****
  
  PROG= diff
! SRCS= diff.c analyze.c cmpbuf.o io.c context.c ed.c normal.c util.c dir.c \
        regex.c side.c ifdef.c version.c getopt.c getopt1.c
  
--- 2,6 ----
  
  PROG= diff
! SRCS= diff.c analyze.c cmpbuf.c io.c context.c ed.c normal.c util.c dir.c \
        regex.c side.c ifdef.c version.c getopt.c getopt1.c
  
>Audit-Trail:
>Unformatted: