From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Jan 16 19:39:19 1997
Received: by jaz.jp.freebsd.org (8.8.4+2.7Wbeta4/8.7.3) id TAA00834
	Thu, 16 Jan 1997 19:39:19 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.4+2.7Wbeta4/8.7.3) with ESMTP id TAA00829
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 16 Jan 1997 19:39:18 +0900 (JST)
Received: from adam.dsp.cl.nec.co.jp by research.gate.nec.co.jp (8.8.3p1+2.6Wbeta9/950912) with ESMTP id TAA19509; Thu, 16 Jan 1997 19:39:17 +0900 (JST)
Received: from mercury.dsp.cl.nec.co.jp by adam.dsp.cl.nec.co.jp (8.8.3p1+2.6Wbeta9/CL-960412) with SMTP id TAA29297; Thu, 16 Jan 1997 19:39:15 +0900 (JST)
Message-Id: <199701161039.TAA29297@adam.dsp.cl.nec.co.jp>
To: FreeBSD-users-jp@jp.freebsd.org
In-reply-to: Your message of Thu, 16 Jan 97 18:14:33 +0800.
             <199701161014.SAA18067@ms5.hinet.net> 
Mime-Version: 1.0 (generated by tm-edit 7.79)
Content-Type: text/plain; charset=ISO-2022-JP
Date: Thu, 16 Jan 1997 19:39:05 +0900
From: Akihiro Hirano <hirano@dsp.cl.nec.co.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 8669
Subject: [FreeBSD-users-jp 8669] Re: HELP!! (LC_TIME) 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

> > > @@ -270,7 +279,10 @@
> > >  	int days[12][MAXDAYS];
> > >  	char *p, lineout[80];
> > >  
> > > -	(void)sprintf(lineout, "%d", year);
> > > +	if ( strcmp(setlocale(LC_TIME, NULL), "ja_JP.EUC") == 0 )
> > > +	    (void)sprintf(lineout, "%d$BG/(B", year);
> > > +	else
> > > +	    (void)sprintf(lineout, "%d", year);
> > >  	center(lineout, WEEK_LEN * 3 + HEAD_SEP * 2, 0);
> > >  	(void)printf("\n\n");
> > >  	for (i = 0; i < 12; i++)
> > > -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --
> > 
> > Can you tell me that,
> > 
> > How to updata those file ,

Cut lines between "-- >8 -- >8 ...."'s and copy the lines into a file.
Then, execute a command "patch < FILE." See "man patch" and also "man
diff" for detail.

NOTE: you have to "cd" into appropriate directory before "patch."

> > What is meaning that "+" & "-"$B!"(B"@@ -235,7 +241,10 @@"?

Lines above are outputs of "diff" program. "Diff" compares two files
and output difference between them. "+" means this line is appended.
"-" means opposit. See "man diff."
____
Akihiro Hirano,  Information Technology Research Laboratories, NEC Corporation
hirano@DSP.CL.nec.co.jp
