This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[glibc] support: Correct confusing comment


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ff6bec7d47b228f4ab2115676a6b7cde5542fa9d

commit ff6bec7d47b228f4ab2115676a6b7cde5542fa9d
Author: Mike Crowe <mac@mcrowe.com>
Date:   Mon May 20 14:55:33 2019 -0300

    support: Correct confusing comment
    
    	* support/timespec.h: Correct confusing comment.
    
    Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

Diff:
---
 ChangeLog          | 4 ++++
 support/timespec.h | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a4c0ec0..323e3f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-05-20  Mike Crowe  <mac@mcrowe.com>
+
+	* support/timespec.h: Correct confusing comment.
+
 2019-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
diff --git a/support/timespec.h b/support/timespec.h
index 4a8b341..e9f466b 100644
--- a/support/timespec.h
+++ b/support/timespec.h
@@ -62,8 +62,8 @@ void test_timespec_equal_or_after_impl (const char *file, int line,
     errno = saved_errno;                                        \
   })
 
-/* Check that the timespec on the left represents a after before the
-   time on the right. */
+/* Check that the timespec on the left represents a time equal to or
+   after the time on the right. */
 #define TEST_TIMESPEC_EQUAL_OR_AFTER(left, right)                       \
   test_timespec_equal_or_after_impl (__FILE__, __LINE__, left, right)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]