public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] difftime.3: be more explict about "difference".
@ 2023-09-19 20:59 enh
  2023-09-20  0:16 ` Paul Eggert
  0 siblings, 1 reply; 9+ messages in thread
From: enh @ 2023-09-19 20:59 UTC (permalink / raw)
  To: linux-man, Alejandro Colomar (man-pages), Paul Eggert

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

Personally I think the NOTES section should be moved to the main body
for clarity, but it seems worth being explicit that there's no leap
seconds magic here --- it's just "fancy subtraction".

Signed-off-by: Elliott Hughes <enh@google.com>
---
 man3/difftime.3 | 1 +
 1 file changed, 1 insertion(+)

[-- Attachment #2: 0001-difftime.3-be-more-explict-about-difference.patch --]
[-- Type: application/octet-stream, Size: 1065 bytes --]

From 433737b7f818c49ed4354eb178e85b46f69aa849 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <enh@google.com>
Date: Tue, 19 Sep 2023 20:55:36 +0000
Subject: [PATCH] difftime.3: be more explict about "difference".

Personally I think the NOTES section should be moved to the main body
for clarity, but it seems worth being explicit that there's no leap
seconds magic here --- it's just "fancy subtraction".

Signed-off-by: Elliott Hughes <enh@google.com>
---
 man3/difftime.3 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man3/difftime.3 b/man3/difftime.3
index b85254cd0..dfb75251b 100644
--- a/man3/difftime.3
+++ b/man3/difftime.3
@@ -29,6 +29,7 @@ between time \fItime1\fP and time \fItime0\fP, represented as a
 Each of the times is specified in calendar time, which means its
 value is a measurement (in seconds) relative to the
 Epoch, 1970-01-01 00:00:00 +0000 (UTC).
+This function does not take leap seconds into account.
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
 .BR attributes (7).
-- 
2.42.0.459.ge4e396fd5e-goog


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-11-11 20:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 20:59 [PATCH] difftime.3: be more explict about "difference" enh
2023-09-20  0:16 ` Paul Eggert
     [not found]   ` <CAJgzZorrrPLSJ-EWrsGcXg9y-ipVsX9FjHtdeh1x15yY7c-eHw@mail.gmail.com>
2023-09-20 20:10     ` Paul Eggert
2023-09-20 21:30       ` enh
2023-09-26  0:18       ` Alejandro Colomar
2023-11-08 21:10         ` Paul Eggert
2023-11-08 21:21           ` Alejandro Colomar
2023-11-09  6:28             ` Paul Eggert
2023-11-11 20:08               ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox