From patchwork Thu May 16 12:20:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Crowe X-Patchwork-Id: 1100519 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-102014-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mcrowe.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="mT6jd2A9"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 454VrC0SK6z9s3Z for ; Thu, 16 May 2019 22:20:42 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=aN+ sMfcVeZd4+GNo8c8vgl29c6WjZ4EZT/W4v4xg9nVKizZdPMuyI7Bg0/9B/U9bAQZ UZclANKGEJhuw9WgbcMU0rFX0qOTabOehAFBJXIM3knbticgNXfcryTRHsrnOgpM RQnaZNg4tiVIGYNWfr0hwdI0T6oWtMp/VloeFezE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=MqRUEqez4 lPgK7BVP2+xm96/S7M=; b=mT6jd2A9+pFNUA8fxkKjP1fUTap3yFD2q3s8vmWDk h/UZME7g1CWZ4vanuKluqAko/M3Hz7JPUxK5vCkn1iIzj2AZrAg6GLrWqbj8QcqO dM87v/LlRLt7yY6tPgehzoCm8gU+ayb0x92E439XxwAFYjiykPSNLezNtHH6pPZq TY= Received: (qmail 14213 invoked by alias); 16 May 2019 12:20:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 14205 invoked by uid 89); 16 May 2019 12:20:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=H*r:smtp, H*r:4.89, Mike, HX-Languages-Length:1196 X-HELO: avasout02.plus.net X-CM-Score: 0.00 From: Mike Crowe To: libc-alpha@sourceware.org Cc: Mike Crowe Subject: [PATCH 1/2] support/timespec.h: Correct confusing comment Date: Thu, 16 May 2019 13:20:25 +0100 Message-Id: <20190516122026.14205-1-mac@mcrowe.com> MIME-Version: 1.0 I seem to have badly copied and pasted the comment describing TEST_TIMESPEC_EQUAL_OR_AFTER in such a way that it made no sense at all. * support/timespec.h: Correct confusing comment. --- ChangeLog | 4 ++++ support/timespec.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea7b3d4f48..f870deca1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-05-16 Mike Crowe + + * support/timespec.h: Correct confusing comment. + 2019-05-15 Mark Wielaard [BZ# 24476] diff --git a/support/timespec.h b/support/timespec.h index 4a8b341c5a..e9f466b3d1 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)