From 907dc7d0c9f64d95b6d4da91dab6601d0e6054ec Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 14 Feb 2002 21:20:06 +0000 Subject: * exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to asm. * external.cc (cygwin_internal): Change CW_STRACE_ON to CW_STRACE_TOGGLE. * strace.cc (strace::hello): Toggle strace on and off. * sync.cc (muto::init): Renamed from constructor. * sync.h (muto::new): Delete. (muto::delete): Ditto. (new_muto): Simplify. Use muto.init for nearly everything. * uinfo.cc (uinfo_init): Avoid closing a NULL handle. * include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_STRACE_OFF to CW_STRACE_TOGGLE. Delete CW_STRACE_OFF. * include/sys/strace.h (strace): Add "inited" field. --- winsup/cygwin/select.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/select.cc') diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 56d818d56..ebc9c8881 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -452,7 +452,7 @@ peek_pipe (select_record *s, bool from_select) n = -1; } else if (!n || !guard_mutex) - /* no guard mutex or nothing to read fromt he pipe. */; + /* no guard mutex or nothing to read from the pipe. */; else if (WaitForSingleObject (guard_mutex, 0) != WAIT_OBJECT_0) { select_printf ("%s, couldn't get mutex %p, %E", fh->get_name (), -- cgit v1.2.3