Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!tokyonet.ad.jp!tokyonet.ad.jp!taurus!dtinews!tokio!spinnews!spin-hsd0-tky!cacnews!minori!news
From: ohsaki@cac.co.jp (ohsaki takayuki)
Subject: Re: [Q] error in malloc
X-Nntp-Posting-Host: 160.240.9.100
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <1996Aug5.030832.613@minori.cac.co.jp>
Sender: news@minori.cac.co.jp (Usenet News System)
Organization: industrial system dept.
X-Newsreader: WinVN 0.99.3J
References: <4u2c00$6m8@news.cs.ehime-u.ac.jp> <1996Aug4.225136.13698@merope.opus.or.jp>
Mime-Version: 1.0
Date: Mon, 5 Aug 1996 03:08:32 GMT
Lines: 32
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:2691
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=2691&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 <1996Aug4.225136.13698@merope.opus.or.jp>, void@merope.opus.or.jp says...
>
>$B$b$7!"(B
>:   for $BJ8$N$H$-$O(B
>:     for (i = 0; r = get(i), i != NULL; i++) {
                               ^r
>:         put(r);
>:     }
>: $B$H$$$&46$8$G$9!#(B
>
>$B$@$C$?$i8m$j$G$9$h$M!#(B

$BJX>h<ALd$G$9!#(B

$B$^$($^$($+$i!"!V%+%s%^1i;;;R!W$K$D$$$F!"5?Ld$r$b$C$F$$$^$7$?!#(B

i=0;
i++, j=i;

$B$N7k2L(B j $B$O$$$/$D$K$J$k$N$,@5$7$$$N$G$7$g$&$+!)(B

(1) 0
(2) 1
(3) $BITDj(B($B=hM}7O0MB8(B)

$B$b$H$NNc$G$O(B r $B$K(B get $B$NJV$9CM$,F~$C$F$J$$$H$$$&=hM}7O$O!"7P83$,(B
$B$J$$$N$G$9$,!"$=$NJ]>Z$O$J$$$N$G$7$g$&$+!)(B

------------------------------------------------------
($B3t(B) $B%7!<%(!<%7!<(B $B;:6H>pJs%7%9%F%`Bh#4It(B
    $BBg:j(B $B5.G7(B   ohsaki@cacnet.cac.co.jp

