]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace calloc(3) with malloc(3), and set the tail of the
authorjmallett <jmallett@FreeBSD.org>
Sat, 4 May 2002 00:08:06 +0000 (00:08 +0000)
committerjmallett <jmallett@FreeBSD.org>
Sat, 4 May 2002 00:08:06 +0000 (00:08 +0000)
commit48ff9098aa9307bb2e8449b4f419c02a51884942
tree1cc4b9e539362ab6c4ae46ad2a7c4e80c4cb7dd9
parent33e9ccad7c14095ca64972f240e4c19691850faf
Replace calloc(3) with malloc(3), and set the tail of the
argument list to NULL, to terminate the arguments passed
to execvp(2).

Thanks to: bde (for pointing out some missing parens)

And with apologies to Ozzy Osbourne:

On his way to dinner
It took him by surprise
When an email from bde
Said his code was full of lies

Style (indentation)
And his bracing were all wrong
He casted to size_t
When he should have cast to long

I don't mind

Single letter identifiers
Unwrapped Line
Over 80 chars
Far over 80 chars

Who can we get to send diffs
We need Bruce D. Evans
Shows you comparason to his
We need Bruce D. Evans again
usr.bin/xargs/xargs.c