* 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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* smallprint.c: small print routines for WIN32
|
||||
|
||||
Copyright 1996, 1998, 2000, 2001, 2002 Red Hat, Inc.
|
||||
Copyright 1996, 1998, 2000, 2001, 2002, 2003, 2005, 2006 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -159,7 +159,7 @@ __small_vsprintf (char *dst, const char *fmt, va_list ap)
|
||||
s = tmp;
|
||||
goto fillin;
|
||||
case '.':
|
||||
n = strtol (fmt, (char **)&fmt, 10);
|
||||
n = strtol (fmt, (char **) &fmt, 10);
|
||||
if (*fmt++ != 's')
|
||||
goto endfor;
|
||||
case 's':
|
||||
|
Reference in New Issue
Block a user