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/smallprint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/smallprint.c') diff --git a/winsup/cygwin/smallprint.c b/winsup/cygwin/smallprint.c index 851e1414c..37c70ee60 100644 --- a/winsup/cygwin/smallprint.c +++ b/winsup/cygwin/smallprint.c @@ -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': -- cgit v1.2.3