🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.windows.x
Article #103

Re: When Xfree() passed NULL as the argument...

#103
From: Keisuke Nakano
Date: Sat, 29 Aug 1992 09:48
33 lines
1716 bytes
$@CfLn!w>>2<%7%9%F%`$G$9!#DL$j$,$+$j$K$A$g$C$H$@$1!#(J

On 08/30/92(02:33) asami@cs.Berkeley.EDU (Satoshi ASAMI) wrote
in <ASAMI.92Aug29133335@antipodes.cs.Berkeley.EDU> (fj.windows.x:1274/msesun06):
 |In article <KOH-I.92Aug28142325@nekobus.kubota.co.jp>
 |        koh-i@kubota.co.jp (Koh-ichi Ito) writes:
 |
 | * $@$HDj5A$5$l$F$$$^$9!#$7$+$7!"(Jfree(NULL) $@$7$?$H$-$N7k2L$OL$Dj(J
 | * $@5A$G$9$h$M(J?
 |
 |K&RII P. 252:
 |
 |void free(void *p)
 |   free deallocates the space pointed to by p; it does nothing if p is
 |   NULL.  p must be a pointer to space previously allocated by calloc,
 |   malloc, or realloc.
 |
 |$@$H$$$&$3$H$G$9$N$G!"!J(JOS$@$,$A$c$s$H%$%s%W%j%a%s%H$7$F$$$l$P!K$+$^$o$J$$(J
 |$@$O$:$G$9$,!#(J

SunOS 4.X JLE $@$G$O!"BLL\$_$?$$$G$9!#(Jcore dump $@$7$F$7$^$$$^$9!#(J
reno $@$N%=!<%9$G$O$A$c$s$H!"(J

if (cp == NULL)
	return;

$@$H$J$C$F$$$k$h$&$G$9!#(Jreno $@$N(J malloc.o $@$r%j%s%/$9$k$H$$$&<j$b$"(J
$@$k$J!#(J

-- 
Matsushita Systems Enginerring Co., Ltd. Osaka Branch.
Keisuke Nakano
Technical Details
Message-ID: <gdqOo.nakake@sys3.osk.mse.mei.co.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-kyo!icspub!oskgate0.mei!chorus.mei!rdmei!msesun06!nakake
References: <KOH-I.92Aug28142325@nekobus.kubota.co.jp> <ASAMI.92Aug29133335@antipodes.cs.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-kyo!icspub!oskgate0.mei!chorus.mei!rdmei!msesun06!nakake
From: nakake@sys3.osk.mse.mei.co.jp (Keisuke Nakano)
Newsgroups: fj.windows.x
Subject: Re: When Xfree() passed NULL as the argument...
Message-ID: <gdqOo.nakake@sys3.osk.mse.mei.co.jp>
Date: 29 Aug 92 09:48:43 GMT
References: <KOH-I.92Aug28142325@nekobus.kubota.co.jp> <ASAMI.92Aug29133335@antipodes.cs.Berkeley.EDU>
Sender: news@sys3.osk.mse.mei.co.jp
Reply-To: nakake@sys3.osk.mse.mei.co.jp (Keisuke Nakano)
Distribution: fj
Organization: Matsushita Systems Enginnering Co., Ltd. Japan
Lines: 33
Nntp-Posting-Host: msesun08