]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Allow decimal values for --timeout, --wait, and --waitretry.
[wget] / src / ChangeLog
index 7f64e35f7d5df9c77952e5e7142ca993e1455a4a..a2d4d7b52330fc34b74b9d8c5751cc989e4fcb31 100644 (file)
@@ -1,3 +1,20 @@
+2003-09-21  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * connect.c (select_fd): Change MAXTIME's type to double.  Handle
+       its decimal part.
+
+       * retr.c (sleep_between_retrievals): In the random-wait case, use
+       random_float() to wait between 0 and 2*opt.wait seconds.
+
+       * utils.c (run_with_timeout): Accept `double' timeouts.  Correctly
+       handle timeout values in (0, 1) range.
+       (random_float): New function.
+
+       * options.h (struct options): Change the types of wait, waitretry,
+       and timeout to double.
+
+       * init.c (cmd_time): Accept floating point time.
+
 2003-09-20  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * retr.c (get_contents): Cosmetic fixes.