Subject: bin/1216: diff thinks pr lives in /bin
To: None <gnats-admin@sun-lamp.pc.cs.cmu.edu>
From: Mike Long <mikel@shore.net>
List: netbsd-bugs
Date: 07/12/1995 02:35:09
>Number:         1216
>Category:       bin
>Synopsis:       diff thinks pr lives in /bin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 12 02:35:07 1995
>Originator:     Mike Long
>Organization:
	severely lacking
>Release:        7/11/95
>Environment:
System: NetBSD azathoth 1.0A NetBSD 1.0A (AZATHOTH) #2: Tue Jul 11 03:26:11 EDT 1995 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH i386

>Description:
	/usr/bin/diff calls /bin/pr instead of /usr/bin/pr.

>How-To-Repeat:
	diff -l a.txt b.txt
>Fix:

--- /usr/src/gnu/usr.bin/diff/config.h~ Mon Nov 21 16:29:45 1994
+++ /usr/src/gnu/usr.bin/diff/config.h  Fri Jun 30 03:11:25 1995
@@ -116,3 +116,5 @@
 
 /* Define if you have the <unistd.h> header file.  */
 #define HAVE_UNISTD_H 1
+
+#define PR_PROGRAM "/usr/bin/pr"

>Audit-Trail:
>Unformatted: