fix invalid pointer in synccall (multithread setuid, etc.)
authorRich Felker <dalias@aerifal.cx>
Mon, 2 Sep 2013 19:06:46 +0000 (15:06 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 Sep 2013 19:06:46 +0000 (15:06 -0400)
commita731e4103b87cb02b763f2e3f73cc43c72bdf65f
treeed6b976e0e0e827cb3d08173a8a850c76eeb51fc
parentfe80a8eb687f48f08e393522520f69b0c52cb297
fix invalid pointer in synccall (multithread setuid, etc.)

the head pointer was not being reset between calls to synccall, so any
use of this interface more than once would build the linked list
incorrectly, keeping the (now invalid) list nodes from the previous
call.
src/thread/synccall.c