[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05
Clint Adams
schizo at debian.org
Sun Nov 15 03:17:32 UTC 2009
The following commit has been merged in the upstream branch:
commit 5777689a103464661bc63438f41139a4330094fa
Author: Clint Adams <schizo at debian.org>
Date: Tue Nov 18 18:18:31 2008 -0500
communicate.c: patch from dann frazier to fix race condition when SysV IPC is used with a threaded application. closes: #499142.
diff --git a/communicate.c b/communicate.c
index 73b3b48..2651e0d 100644
--- a/communicate.c
+++ b/communicate.c
@@ -521,9 +521,9 @@ void send_get_fakem(struct fake_msg *buf)
if(init_get_msg()!=-1){
pid=getpid();
+ semaphore_up();
serial++;
buf->serial=serial;
- semaphore_up();
buf->pid=pid;
send_fakem(buf);
--
fakeroot
More information about the Fakeroot-commits
mailing list