From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Mar  5 01:11:24 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h24GBOh51540;
	Wed, 5 Mar 2003 01:11:24 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mbox-o00.iijmio.jp (mbox-o00.iijmio.jp [210.138.144.205])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id h24GBN751535
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 5 Mar 2003 01:11:23 +0900 (JST)
	(envelope-from kajimoto@iijmio-mail.jp)
Received: MMS O id h24GBNU15609; Wed, 5 Mar 2003 01:11:23 +0900 (JST)
Received: MMS R00 id h24GBMC26673; Wed, 5 Mar 2003 01:11:22 +0900 (JST)
	from localhost (localhost [127.0.0.1]) (authenticated)
Message-Id: <20030305.011109.71138511.kajimoto@iijmio-mail.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
Cc: kajimoto@iijmio-mail.jp
From: KAJIMOTO Masato <kajimoto@iijmio-mail.jp>
X-Mailer: Mew version 3.2 on XEmacs 21.1.14 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 05 Mar 2003 01:11:09 +0900
X-Sequence: FreeBSD-users-jp 73641
Subject: [FreeBSD-users-jp 73641] tcsh-6.12.00
 =?ISO-2022-JP?B?GyRCJE4bKEI=?= sizeof(.cshrc)>4096
 =?ISO-2022-JP?B?GyRCJVAlMCRLQlAkOSRrGyhC?=
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: kajimoto@iijmio-mail.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030304

$B$O$8$a$^$7$F!"3aK\$G$9!#(B

tcsh-6.12.00 $B$KB8:_$9$k!"(B4KB$B0J>e$N(B .cshrc $B$,FI$_9~$a$J$/$J$k$3$H$,$"$k$H$$$&(B
$B%P%0$K$D$$$F$O!"E:IU$7$?%Q%C%A$G2sHr$G$-$k$3$H$r3NG'$7$F$$$^$9$,!"I{:nMQ$,=P(B
$B$J$$$H$$$&3N?.$,$"$j$^$;$s!#(B

$BF1$8%P%0$G:$$C$F$*$i$l$kJ}!"$3$N%Q%C%A$r;n$7$FD:$1$^$;$s$+!)(B
$BI{:nMQ$,$J$1$l$P(B tcsh-ML $B$KJs9p$7$h$&$H;W$$$^$9!#(B

$B;29M!'(Bhttp://www.freebsd.org/cgi/query-pr.cgi?pr=44504


diff -rc tcsh-6.12.00.orig/sh.c tcsh-6.12.00/sh.c
*** tcsh-6.12.00.orig/sh.c	Sat Jul  6 01:28:16 2002
--- tcsh-6.12.00/sh.c	Tue Mar  4 21:10:53 2003
***************
*** 1010,1016 ****
--- 1010,1026 ----
       * descriptor to hold the name of the script (setuid case) and this name
       * mustn't be lost by closing the fd too soon.
       */
+ #ifdef NLS_BUGS
+ #ifdef NLS_CATALOGS
+     (void)catclose(catd);
+ #endif /* NLS_CATALOGS */
+ #endif /* NLS_BUGS */
      closem();
+ #ifdef NLS_BUGS
+ #ifdef NLS_CATALOGS
+     nlsinit();
+ #endif /* NLS_CATALOGS */
+ #endif /* NLS_BUGS */
  
      /*
       * Consider input a tty if it really is or we are interactive. but not for
***************
*** 2360,2372 ****
  void
  initdesc()
  {
- #ifdef NLS_BUGS
- #ifdef NLS_CATALOGS
-     (void)catclose(catd);
- #endif /* NLS_CATALOGS */
- #endif /* NLS_BUGS */
- 
- 
      didfds = 0;			/* 0, 1, 2 aren't set up */
      (void) close_on_exec(SHIN = dcopy(0, FSHIN), 1);
      (void) close_on_exec(SHOUT = dcopy(1, FSHOUT), 1);
--- 2370,2375 ----
***************
*** 2377,2387 ****
  #endif /* CLOSE_ON_EXEC */
      isdiagatty = isatty(SHDIAG);
      isoutatty = isatty(SHOUT);
- #ifdef NLS_BUGS
- #ifdef NLS_CATALOGS
-     nlsinit();
- #endif /* NLS_CATALOGS */
- #endif /* NLS_BUGS */
  }
  
  
--- 2380,2385 ----

---
kajimoto
