https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1f74e7e71a7c61541aebb54bba18e1c48fff1b74

commit 1f74e7e71a7c61541aebb54bba18e1c48fff1b74
Author: Takashi Yano <[email protected]>
Date:   Fri Dec 13 20:56:52 2024 +0900

    Cygwin: signal: Fix typo in the comment added by previous commit
    
    Fixes: 1d1451ccd2a6 ("Cygwin: signal: Fix high load when retrying to 
process pending signal")
    Reported-by: Jon Turney <[email protected]>
    Signed-off-by: Takashi Yano <[email protected]>

Diff:
---
 winsup/cygwin/sigproc.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 861a8c649..ba7818a68 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -1348,8 +1348,8 @@ wait_sig (VOID *)
   /* GetTickCount() here is enough because GetTickCount() - t0 does
      not overflow until 49 days psss. Even if GetTickCount() overflows,
      GetTickCount() - t0 returns correct value, since underflow in
-     unsigned wraps correctly. Pending a signal for more thtn 49
-     days would be noncense. */
+     unsigned wraps correctly. Pending a signal for more than 49
+     days makes no sense. */
   DWORD t0 = GetTickCount ();
   for (;;)
     {

Reply via email to