From owner-freebsd-stable Mon Sep 2 1:47:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E800837B400 for ; Mon, 2 Sep 2002 01:47:48 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id DFA9643E6A for ; Mon, 2 Sep 2002 01:47:47 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 2 Sep 2002 09:47:47 +0100 (BST) To: TOMITA Yoshinori Cc: Martin Kraemer , FreeBSD-stable@FreeBSD.ORG, tcsh@mx.gw.com Subject: Re: Strange bug: tcsh stops reading .tcshrc after 4kB In-Reply-To: Your message of "Mon, 02 Sep 2002 11:29:28 +0900." Date: Mon, 02 Sep 2002 09:47:43 +0100 From: Ian Dowse Message-ID: <200209020947.aa15811@salmon.maths.tcd.ie> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , TOMITA Yoshinori writes: >I also experienced the very similar problem after cvsup around 2002-08-22, >on both 4.6-STABLE and 5-CURRENT. > >From my quick investigation, I found that the trigger was "unset" >command in ~/.cshrc. And I guess that NLS catalogues are something to >do with this problem. This sounds like a regression of, or at least related to, a bug I tracked down some time ago (listed in 'Fixes' as #58). I think this crops up on FreeBSD because we are unusual in keeping a file descriptor open between catopen() and catclose(). Other NLS implementations apparently mmap the file and close the descriptor, so they do not suffer from this. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message