Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!etlnews.etl.go.jp!etlinn.etl.go.jp!etl.go.jp!trc.rwcp!rwc-tyo!news.iij.ad.jp!news.sun.co.jp!sunj-gate.Japan.Sun.COM!news2me.EBay.Sun.COM!venus.sun.com!cs.utexas.edu!howland.erols.net!vixen.cso.uiuc.edu!newsfeed.internetmci.com!dtinews!taurus!news3-tokyonet!tokyonet.ad.jp!tokyonet.ad.jp!astecgw!nntphost!yanagi
From: yanagi@astec.co.jp (Sawayanagi Yosirou)
Subject: Re: [Q] error in malloc
In-Reply-To: katou@sci.jip.co.jp's message of 8 Aug 1996 12:23:30 GMT
X-Nntp-Posting-Host: tokyonet-entrance.astec.co.jp
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <YANAGI.96Aug13193751@chicago.astec.co.jp>
Sender: news@astec.co.jp
Organization: ASTEC, Inc., Japan
References: <4u9lhv$d4t@medusa.sci.jip.co.jp>
 <4ua5kj$plj@csdnews.sm.sony.co.jp> <4ucm82$b7j@medusa.sci.jip.co.jp>
Mime-Version: 1.0
Date: Tue, 13 Aug 1996 10:37:50 GMT
Dnas-Posting-Host: chicago.astec.co.jp
Lines: 40
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:2759
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=2759&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.

In article <4ucm82$b7j@medusa.sci.jip.co.jp> katou@sci.jip.co.jp (Tatsuhiro Kato) writes:

>$B;d$N=q$-J}$GNc$r%3!<%G%#%s%0$7$F$_$^$9$N$G(B
>$B$h$1$l$PB>$NJ}$O$3$N$h$&$J$H$-$K!"$I$N$h$&$K(B
>$B%3!<%G%#%s%0$5$l$k$N$+$r65$($F$$$?$@$1$^$;$s$+!)(B

  $B:#$^$G$3$N$h$&$K=q$$$?$3$H$O$"$j$^$;$s$1$l$I!"(B

enum {FALSE, TRUE} newKei;

keiBuff.pNumber = LONG_MIN;
while (toriRead(&toriBuff) != EOF) {
    if (toriBuff.pNumber > keiBuff.pNumber) {
        /* $B7@Ls%G!<%?$rC5$9(B */
newKei = TRUE;
while (keiRead(&keiBuff) != EOF
       && keiBuff.pNumber < toriBuff.pNumber)
  ;
    }
    if (toriBuff.pNumber == keiBuff.pNumber) {
if (newKei)
  seikyusyoHeadPrint(keiBuff.pNumber); /* $B@A5a=q8+=P$70u:~(B */
newKei = FALSE;
seikyuDetailPrint(toriBuff.pNumber); /* $B@A5a=qL@:Y0u:~(B */
      }
    else
      /* $BBP1~$9$k7@Ls%G!<%?$O$J$$(B */
      errorListPrint(toriBuff.pNumber); /* $B%(%i!<%j%9%H0u:~(B */
}

$B$G$I$&$G$7$g$&$+!#(B


# $BM>CL$G$9$1$l$I!V(BORDER BY$B!W$O(B SQL $B$N(B SELECT $BJ8$N%*%W%7%g%s$N$3$H$G$9(B
# $B$h$M!#3'$5$s$d$O$j$o$+$C$F$7$^$&$N$+$7$i$s!#(B

$B_7(B $BLx(B  $B4n(B $BO:(B $B!J%"%9%F%C%/!K(B

---------------------------------------------------------------------------
$B3t<02q<R%"%9%F%C%/(B/$B")(B162 $BEl5~ET?7=I6hFnD.(B6 BR$B;T%vC+(B/PHONE:03-5261-5971($BBe(B)
