diff options
author | Christopher Faylor <me@cgf.cx> | 2006-06-23 00:19:39 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-06-23 00:19:39 +0000 |
commit | 4470d66ddc7a41c8efee2f307a2dece3227f5515 (patch) | |
tree | 28079124f0580364885a7779dc8eb8b99ba09022 /winsup/cygwin/smallprint.c | |
parent | 083f3e4a23a83c4f62754da41a9bbac4a95cf1a7 (diff) | |
download | cygnal-4470d66ddc7a41c8efee2f307a2dece3227f5515.tar.gz cygnal-4470d66ddc7a41c8efee2f307a2dece3227f5515.tar.bz2 cygnal-4470d66ddc7a41c8efee2f307a2dece3227f5515.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/smallprint.c')
-rw-r--r-- | winsup/cygwin/smallprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
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': |