Date: Tue, 4 Jun 2024 16:07:53 -0700 From: John Baldwin <jhb@FreeBSD.org> To: Emmanuel Vadot <manu@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: dcb65c5a94d4 - main - csh: Remove hardlink /.cshrc Message-ID: <e447211e-6d51-4060-8f6c-b017bb1c9ce1@FreeBSD.org> In-Reply-To: <202405290757.44T7vbf4021395@gitrepo.freebsd.org> References: <202405290757.44T7vbf4021395@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/29/24 3:57 AM, Emmanuel Vadot wrote: > The branch main has been updated by manu: > > URL: https://cgit.FreeBSD.org/src/commit/?id=dcb65c5a94d4c622b1d486847dc20488f59974e7 > > commit dcb65c5a94d4c622b1d486847dc20488f59974e7 > Author: Emmanuel Vadot <manu@FreeBSD.org> > AuthorDate: 2024-05-27 13:12:18 +0000 > Commit: Emmanuel Vadot <manu@FreeBSD.org> > CommitDate: 2024-05-29 07:56:58 +0000 > > csh: Remove hardlink /.cshrc > > Remove this historical artifact. > csh will try to use /.csrch if the user has no home directory defined which > is rather unlikely (To be exact if the concatenation of $HOME and "/.cshrc" > fail which is the same thing). > > Also, with this change pkg will happily handle 3way merge for /root/.cshrc > > Differential Revision: https://reviews.freebsd.org/D45382 > Reviewed by: emaste, imp > Sponsored by: Beckhoff Automation GmbH & Co. KG FWIW, this happens anytime you use /bin/csh as root's shell and boot into single user mode. Similar to /.profile being used for single user mode if root's shell is /bin/sh. Given we've changed the default shell for root, then it's fine to do this change, but that probably should have been noted in the commit log (in part to serve as a reminder so we don't remove the links for sh). -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e447211e-6d51-4060-8f6c-b017bb1c9ce1>