Re: [patch src/usr.bin/mg/undo.c] replace malloc & memset with calloc

2014-04-24 Thread Peter Malone
On 04/24/14 04:09, Stuart Henderson wrote: On 2014/04/24 04:26, Miod Vallat wrote: Same as the others, this time with src/usr.bin/mg/undo.c You are now losing a memset() in the `rec doesn't come from malloc' code path. From the number and types of diff being sent, I am guessing these are tool

Re: [patch src/usr.bin/mg/undo.c] replace malloc & memset with calloc

2014-04-24 Thread Stuart Henderson
On 2014/04/24 04:26, Miod Vallat wrote: > > Same as the others, this time with src/usr.bin/mg/undo.c > > You are now losing a memset() in the `rec doesn't come from malloc' code > path. >From the number and types of diff being sent, I am guessing these are tool-generated (coccinelle?); while this

Re: [patch src/usr.bin/mg/undo.c] replace malloc & memset with calloc

2014-04-23 Thread Miod Vallat
> Same as the others, this time with src/usr.bin/mg/undo.c You are now losing a memset() in the `rec doesn't come from malloc' code path. > Index: undo.c > === > RCS file: /cvs/src/usr.bin/mg/undo.c,v > retrieving revision 1.55 > dif

[patch src/usr.bin/mg/undo.c] replace malloc & memset with calloc

2014-04-23 Thread Peter Malone
Hi, Same as the others, this time with src/usr.bin/mg/undo.c Index: undo.c === RCS file: /cvs/src/usr.bin/mg/undo.c,v retrieving revision 1.55 diff -u -p -u -r1.55 undo.c --- undo.c 20 Mar 2014 07:47:29 - 1.55 +++ undo.