From: Michael Kerrisk Date: Sun, 18 Oct 2020 13:00:14 +0000 (+0200) Subject: system_data_types.7: srcfix: add comment noting time_t difference in POSIX.1-2001 X-Git-Tag: man-pages-5.09~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=853a4cff4e2cbff740648fe5ac8db79b5aaaac9d;p=thirdparty%2Fman-pages.git system_data_types.7: srcfix: add comment noting time_t difference in POSIX.1-2001 Paul Eggert commented on a patch that proposed to note the POSIX.2001 details: No actual POSIXish implementation ever made it a real-floating type, though, and that point should be made lest some conscientious programmer worry about a nonexistent porting issue. We opted to drop the patch, but in case someone else points out this POSIX.1-2001 difference in the future, let's leave a comment in the page source. Reported-by: Paul Eggert Signed-off-by: Michael Kerrisk --- diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 8a894b2e0e..285b720f72 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1229,6 +1229,10 @@ or .PP Used for time in seconds. According to POSIX, it shall be an integer type. +.\" In POSIX.1-2001, the type was specified as being either an integer +.\" type or a real-floating type. However, existing implementations +.\" used an integer type, and POSIX.1-2008 tightened the specification +.\" to reflect this. .PP Versions: .I