PERFORCE change 136469 for review
Alexander Kabaev
kabaev at gmail.com
Sat Mar 1 03:54:02 UTC 2008
On Fri, 29 Feb 2008 19:48:17 GMT
"David E. O'Brien" <obrien at FreeBSD.org> wrote:
> http://perforce.freebsd.org/chv.cgi?CH=136469
>
> Change 136469 by obrien at obrien_trang on 2008/02/29 00:22:37
>
> Zero out the new tcb.
> Obtained from: Juniper Networks
>
> Affected files ...
>
> .. //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#3
> edit
>
> Differences ...
>
> ==== //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#3
> (text+ko) ====
>
> @@ -42,6 +42,7 @@
>
> tcb = malloc(sizeof(struct tcb));
> if (tcb)
> + bzero(tcb, sizeof(struct tcb));
> tcb->tcb_thread = thread;
> return (tcb);
> }
Huh? The line below one you added is now redundant.
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/p4-projects/attachments/20080301/aff418b8/signature.pgp
More information about the p4-projects
mailing list