Subject: CVS commit: src/usr.bin/whereis
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/01/2004 20:50:32
Module Name: src
Committed By: christos
Date: Thu Apr 1 20:50:32 UTC 2004
Modified Files:
src/usr.bin/whereis: whereis.c
Log Message:
- add which(1) functionality.
- fix bug where if a program appeared in more than one place it would
erroneously exit(2)
- fix error messages to use err and errx as appropriate.
- made sure we don't pick up directories or non executable files.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/usr.bin/whereis/whereis.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.