Newsgroups: fj.unix
Path: galaxy.trc.rwcp.or.jp!sparky!uunet!twinsun!eggert
From: eggert@twinsun.com (Paul Eggert)
Subject: Re: RCS and Japanese (was Re: Wildcard '*')
Message-ID: <bi'W{p}8@twinsun.com>
Sender: usenet@twinsun.com
Nntp-Posting-Host: farside
Organization: Twin Sun, Inc
References: <SHIGE.92May29183440@theta.iis.u-tokyo.ac.jp> <1992May29.121106.25297@fxis.fujixerox.co.jp> <SHIGE.92Jun8101156@theta.iis.u-tokyo.ac.jp> <1992Jun8.062735.8819@fxis.fujixerox.co.jp>
Distribution: fj
Date: Tue, 9 Jun 1992 22:27:41 GMT
Lines: 51
Xref: galaxy.trc.rwcp.or.jp fj.unix:1465
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.unix&nb=1465&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

taka@fxis.fujixerox.co.jp (Takahiro Kanbe) writes:

>*** rcsdiff.c.ORIGSat Nov 23 00:24:35 1991
>--- rcsdiff.cFri Mar 13 20:13:54 1992
>***************
>*** 167,176 ****
>      suffixes = X_DEFAULT;
>  
>      /* Room for args + 2 i/o [+ 2 labels] + 1 file + 1 trailing null.  */
>!     diffp = diffv = tnalloc(char const*, argc + 4 + 2*DIFF_L);
>      *diffp++ = nil;
>      *diffp++ = nil;
>      *diffp++ = DIFF;
>  
>      argc = getRCSINIT(argc, argv, &newargv);
>      argv = newargv;
>--- 167,177 ----
>      suffixes = X_DEFAULT;
>  
>      /* Room for args + 2 i/o [+ 2 labels] + 1 file + 1 trailing null.  */
>!     diffp = diffv = tnalloc(char const*, argc + 5 + 2*DIFF_L);
>      *diffp++ = nil;
>      *diffp++ = nil;
>      *diffp++ = DIFF;
>+     *diffp++ = RCSDIFF_FLAGS;
>  
>      argc = getRCSINIT(argc, argv, &newargv);
>      argv = newargv;


This fixes only `rcsdiff'.  Isn't it better to fix `diff' instead?
This keeps `rcsdiff' consistent with `diff',
and it's a much simpler change (please see below).
Of course, a better fix would be to Japanize diff/io.c's binary_file_p,
but this would take a bit more work.

*** diff-1.15/diff.cSun Jan  6 15:53:25 1991
--- diff-curr/diff.cTue Jun  9 15:18:49 1992
***************
*** 121,125 ****
    /* Do our initializations. */
    output_style = OUTPUT_NORMAL;
!   always_text_flag = FALSE;
    ignore_space_change_flag = FALSE;
    ignore_all_space_flag = FALSE;
--- 121,125 ----
    /* Do our initializations. */
    output_style = OUTPUT_NORMAL;
!   always_text_flag = TRUE;
    ignore_space_change_flag = FALSE;
    ignore_all_space_flag = FALSE;
