From patchwork Mon Feb 11 03:31:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: TAMUKI Shoichi X-Patchwork-Id: 1039579 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-99904-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linet.gr.jp Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="sZRZWqYZ"; 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 43yWZH4BFMz9s5c for ; Mon, 11 Feb 2019 14:32:38 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:from:date:to:subject:mime-version :content-type; q=dns; s=default; b=HG4aAs3iF+yXNscigb2bfl8bdJcIH DZCOvxdfTr6UgFxPu674ibikfg4Zjqr0KUYi+98vg0fR0Zphk2qSM7pwS+7TT3WQ MTZuUcdoP6SBStT+rrV5YCCZaPTve0CrlzqD6kZJZ/vHx5VtXq7DJ250tW1D/yzx OGRv56OV76Gle8= 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:message-id:from:date:to:subject:mime-version :content-type; s=default; bh=TEIRU+84kWkoM2VlOsU7PPuEPuA=; b=sZR ZWqYZ+7WQpwdmpO87doy3WILoSieLYy6kWX7YW7I6E6rU1bHEDGG4orSazsbh6a7 QuZHM1jQYxjEUkg20jr4grGScvb5pWBECBlT4MzDPMMmHKy/es1dx7t9LhzIHo2a BYji2iTkpkv/Ls+msv2tP1YBYjxpLE18lWqJB5XU= Received: (qmail 54881 invoked by alias); 11 Feb 2019 03:32:32 -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 54869 invoked by uid 89); 11 Feb 2019 03:32:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=arrangement, H*UA:Version, Field X-HELO: mail.linet.jp Message-Id: <201902110331.AA04238@tamuki.linet.gr.jp> From: TAMUKI Shoichi Date: Mon, 11 Feb 2019 12:31:47 +0900 To: libc-alpha@sourceware.org Subject: [COMMITTED] Fix a few whitespace arrangement inconsistencies in time/strftime_l.c MIME-Version: 1.0 Having checked the arrangement of whitespace in time/strftime_l.c using "unexpand" and "unexpand -a" command, three inconsistencies are detected. So fix them for consistency. ChangeLog: * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies. --- time/strftime_l.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/time/strftime_l.c b/time/strftime_l.c index cb3b8d3..98c35d5 100644 --- a/time/strftime_l.c +++ b/time/strftime_l.c @@ -562,7 +562,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format, int pad = 0; /* Padding for number ('-', '_', or 0). */ int modifier; /* Field modifier ('E', 'O', or 0). */ int digits; /* Max digits for numeric format. */ - int number_value; /* Numeric value to be printed. */ + int number_value; /* Numeric value to be printed. */ int negative_number; /* 1 if the number is negative. */ const CHAR_T *subfmt; CHAR_T *bufp; @@ -992,7 +992,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format, do *--bufp = u % 10 + L_('0'); while ((u /= 10) != 0); - } + } do_number_sign_and_padding: if (negative_number) @@ -1136,7 +1136,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format, DO_NUMBER (2, tp->tm_sec); case L_('s'): /* GNU extension. */ - { + { struct tm ltm; time_t t;