NetBSD Problem Report #55444

From www@netbsd.org  Wed Jul  1 18:10:36 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 886631A9217
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  1 Jul 2020 18:10:36 +0000 (UTC)
Message-Id: <20200701181035.AED831A9218@mollari.NetBSD.org>
Date: Wed,  1 Jul 2020 18:10:35 +0000 (UTC)
From: jim.bernard@comcast.net
Reply-To: jim.bernard@comcast.net
To: gnats-bugs@NetBSD.org
Subject: The last change to etc/root/dot.cshrc was incomplete
X-Send-Pr-Version: www-1.0

>Number:         55444
>Category:       misc
>Synopsis:       The last change to etc/root/dot.cshrc was incomplete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 01 18:15:00 +0000 2020
>Closed-Date:    Thu Jul 02 11:09:19 +0000 2020
>Last-Modified:  Thu Jul 02 11:10:00 +0000 2020
>Originator:     Jim Bernard
>Release:        src from Sun Jun 28 18:43:05 UTC 2020 20200628184305Z
>Organization:
self
>Environment:
NetBSD xxx 9.99.68 NetBSD 9.99.68 (GENERIC.202006281843Z) #0: Sun Jun 28 13:33:58 PDT 2020  root@xxx/GENERIC amd64
>Description:
The last change to ...src/etc/root/dot.cshrc was apparently intended to remove /usr/src/gnu and its subdirectories from cdpath, but the removal missed the trailing part of the outer set of nested directories.  That left three directories repeated and an unmatched right brace.  The diff relative to the previous version makes it obvious:

-set cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,gnu/{usr.{bin,sbin},libexec,lib,games}})
+set cdpath=(/usr/src/{sys,bin,sbin,usr.{bin,sbin},lib,libexec,share,local,games,libexec,lib,games}})
--------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^

The affected revision is: $NetBSD: dot.cshrc,v 1.28 2019/12/04 08:21:50 mrg Exp $
>How-To-Repeat:
grep "set cdpath" /usr/src/etc/root/dot.cshrc

>Fix:
Remove ",libexec,lib,games}" near the end of the cdpath string.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Thu, 02 Jul 2020 11:09:19 +0000
State-Changed-Why:
Fixed, thanks for report.


From: "Jaromir Dolecek" <jdolecek@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/55444 CVS commit: src/etc/root
Date: Thu, 2 Jul 2020 11:08:55 +0000

 Module Name:	src
 Committed By:	jdolecek
 Date:		Thu Jul  2 11:08:55 UTC 2020

 Modified Files:
 	src/etc/root: dot.cshrc

 Log Message:
 fix incomplete gnu/ deletion - PR misc/55444 by Jim Bernard


 To generate a diff of this commit:
 cvs rdiff -u -r1.28 -r1.29 src/etc/root/dot.cshrc

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.