Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2]: src/usr.bin/which Apply patch (requested by rpaulo in ticket ...



details:   https://anonhg.NetBSD.org/src/rev/a5450d651abf
branches:  netbsd-2
changeset: 564053:a5450d651abf
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Sep 13 21:42:23 2005 +0000

description:
Apply patch (requested by rpaulo in ticket #5831):

Make /usr/bin/which return a proper error indication.  Fixes PR bin/31252.

diffstat:

 usr.bin/which/which.csh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8bc6ac7dfdda -r a5450d651abf usr.bin/which/which.csh
--- a/usr.bin/which/which.csh   Tue Sep 13 21:31:06 2005 +0000
+++ b/usr.bin/which/which.csh   Tue Sep 13 21:42:23 2005 +0000
@@ -1,5 +1,5 @@
 #!/bin/csh
-#      $NetBSD: which.csh,v 1.3 1999/03/11 11:15:44 fair Exp $
+#      $NetBSD: which.csh,v 1.3.16.1 2005/09/13 21:42:23 riz Exp $
 #
 # DO NOT USE "csh -f"
 #
@@ -77,5 +77,6 @@
     endif
     if ( ! $?found ) then
        echo no $arg in $path
+       exit 1
     endif
 end



Home | Main Index | Thread Index | Old Index