Re: malloc vs calloc



CBFalconer escreveu:
Richard wrote:
Ian Collins <ian-news@xxxxxxxxxxx> writes:

... snip ...
How many times must people here have to say "do not cast the return
value of calloc"? Does anyone read the archive before they post?
No they don't. Often people do not read an entire archive for a
problem they did not even realise existed.

I would suggest that if you are tired of pointing out such corrections
then you need to take a break from offering advice. Which would be a
shame as you are normally polite and constructive. There are plenty of
others more than willing to correct the famous malloc cast issue - God
knows they do it enough.

Another valueless foolish post. Into the sin bin you go.

Chuck, are suggesting that a bit of common sense should burn?
.



Relevant Pages