summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--NEWS2
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70ccc4316..a2cf7b52e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,14 @@
* Version 4.5.2.
+ Factor nanosleep-related code into ../lib/xnanosleep.c.
+ * src/sleep.c: Include xnanosleep.h.
+ Factor out fenv.h-related code.
+ (timespec_subtract): Remove function.
+ (main): Remove code that deals with computing start and stop times
+ as well as the loop around nanosleep. Now that's in xnanosleep.c.
+
+ Allow S (in --sleep-interval=S) to be a floating point value.
* src/tail.c: Include xnanosleep.h and xstrtod.h.
Move declaration of global variable, sleep_interval, to ...
(main): ...here.
diff --git a/NEWS b/NEWS
index 530c8b978..c951d13bc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+[4.5.2]
+* tail now accepts fractional seconds for its --sleep-interval=S (-s) option
[4.5.1]
* du and ls now report sizes of symbolic links (before they'd always report 0)
* uniq now obeys the LC_COLLATE locale, as per POSIX 1003.1-2001 TC1.