bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] -w on Windows doesn't wait less than 1001 seconds


From: Jernej Simončič
Subject: [Bug-wget] -w on Windows doesn't wait less than 1001 seconds
Date: Mon, 25 Apr 2016 13:04:09 +0200

There's a bug in xsleep in mswindows.c:

--- src/mswindows.c.orig        2015-11-09 16:24:07.000000000 +0100
+++ src/mswindows.c     2016-04-25 12:29:49.291555801 +0200
@@ -63,7 +63,7 @@
 xsleep (double seconds)
 {
 #if defined(HAVE_USLEEP) && defined(HAVE_SLEEP)
-  if (seconds > 1000)
+  if (seconds >= 1)
     {
       /* Explained in utils.c. */
       sleep (seconds);


-- 
< Jernej Simončič ><><><><><><><><><><><>< https://eternallybored.org/ >

           Because 10 billion years' time is so fragile, so ephemeral...
it arouses such a bittersweet, almost heartbreaking fondness.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]