News for hackers. Stuff that matters.
Re:Why does calloc exist? by aap_ on Tuesday December 06, 2016 @04:26AM (#13113328)
Why are you so sure it was written by dmr? The coding style looks like ken's to me: a) no space after if/while/for/etc b) use of "botch".

Yes, calloc is used in lex, but that is not part of v6...at least not the official distribution, I don't know when he started development. But since he also uses fopen and friends why shouldn't he be using malloc as well? changing 'calloc(n, m)' to 'malloc(n*m)' doesn't sound like such a huge change.

There are no comments on this comment yet.