From: Rich Felker Date: Fri, 19 Oct 2012 19:02:37 +0000 (-0400) Subject: fix usage of locks with vfork X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=599f97360389911c293e0ca4c5eb49e007377fba;hp=599f97360389911c293e0ca4c5eb49e007377fba fix usage of locks with vfork __release_ptc() is only valid in the parent; if it's performed in the child, the lock will be unlocked early then double-unlocked later, corrupting the lock state. ---