This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Fix typos in comments and debug output in select_stuff::wait
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 8 Jun 2016 09:03:02 -0000
- Subject: [newlib-cygwin] Fix typos in comments and debug output in select_stuff::wait
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b1f63ce874de0c00ba8764f9c7967cf467a236b4
commit b1f63ce874de0c00ba8764f9c7967cf467a236b4
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Jun 8 11:02:50 2016 +0200
Fix typos in comments and debug output in select_stuff::wait
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/select.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 2329021..8ea02f5 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -375,10 +375,10 @@ select_stuff::wait (fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
next_while:;
}
- /* Optionally create and set a waitable timer, if a finite timeout has
+ /* Optionally create and set a waitable timer if a finite timeout has
been requested. Recycle cw_timer in the cygtls area so we only have
to create the timer once per thread. Since WFMO checks the handles
- in order, we appand the timer as last object, otherwise it's preferred
+ in order, we append the timer as last object, otherwise it's preferred
over actual events on the descriptors. */
HANDLE &wait_timer = _my_tls.locals.cw_timer;
if (us > 0LL)
@@ -399,7 +399,7 @@ next_while:;
0, NULL);
if (!NT_SUCCESS (status))
{
- select_printf ("%y = NtSetTimer (%Y)\n",
+ select_printf ("%y = NtSetTimer (%D)\n",
status, ms_clock_ticks.QuadPart);
return select_error;
}