From 4470d66ddc7a41c8efee2f307a2dece3227f5515 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 23 Jun 2006 00:19:39 +0000 Subject: * fhandler_fifo.cc (fhandler_fifo::open): Release process lock and grab a system-wide mutex to prevent a deadlock and a race. * sync.h (lock_process): Make fhandler_fifo a friend. * smallprint.c (__small_vsprintf): Cosmetic change. --- winsup/cygwin/sync.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/sync.h') diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h index f8019a8fe..8fd01df3a 100644 --- a/winsup/cygwin/sync.h +++ b/winsup/cygwin/sync.h @@ -1,6 +1,6 @@ /* sync.h: Header file for cygwin synchronization primitives. - Copyright 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. + Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Written by Christopher Faylor @@ -66,6 +66,7 @@ public: locker.release (); } friend class dtable; + friend class fhandler_fifo; }; #endif /*_SYNC_H*/ -- cgit v1.2.3