PERFORCE change 136581 for review
David E. O'Brien
obrien at FreeBSD.org
Sat Mar 1 16:50:02 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=136581
Change 136581 by obrien at obrien_trang on 2008/03/01 16:49:20
grrr. I hate that style(9) (or really C) doesn't require {} for if's.
fix logic to match intention (as shown thru indention).
Affected files ...
.. //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#4 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#4 (text+ko) ====
@@ -41,9 +41,10 @@
struct tcb *tcb;
tcb = malloc(sizeof(struct tcb));
- if (tcb)
+ if (tcb) {
bzero(tcb, sizeof(struct tcb));
tcb->tcb_thread = thread;
+ }
return (tcb);
}
More information about the p4-projects
mailing list