From patchwork Thu May 18 13:03:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 55779 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E27643836E82 for ; Thu, 18 May 2023 13:03:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E27643836E82 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684415034; bh=SoV11rgDkpYizbrBl1X03fElLjLVELV1jxk45bixkdE=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=Iw7RFHzTDsT99YnlZnm0CC2/GyBw4bMkglFuDAIsUKO42bagUVLU03DL/4h4NbCEN qsIywoGiXwT27D8vRpDsX/3tB5kSjwD3nIdsOkRg255KaPPg5eyA50hzLOLwjgySvV f7SZ+BWUKa5wpYJ9kMY+D/dbs5Lq/XwEVYvzbvtk= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id BB41C3858CDB for ; Thu, 18 May 2023 13:03:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BB41C3858CDB Received: from mail-yb1-f200.google.com (mail-yb1-f200.google.com [209.85.219.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-205-B6omEJz1P7OL6_ar6RQ39g-1; Thu, 18 May 2023 09:03:30 -0400 X-MC-Unique: B6omEJz1P7OL6_ar6RQ39g-1 Received: by mail-yb1-f200.google.com with SMTP id 3f1490d57ef6-ba7831dfe95so3551332276.2 for ; Thu, 18 May 2023 06:03:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684415009; x=1687007009; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SoV11rgDkpYizbrBl1X03fElLjLVELV1jxk45bixkdE=; b=btvt3V1wMSpt3X5dqwUBUHrj8VfO/fT3shASJJmA8M2FGMyTLdSmECKYEXj4+ezRlN v+xXXIaPORs8Epo2CGUfK7at21Lfm2rLlJYxgpmyR9jyDl+oXln0cXO6T+fAoJr6iiJz 6sm/pS4Cf83Sok5l+Gn2sn6706YEPHIRlQy0x58bU4RQyq3+zTz+BmbntF2t3i2Th6NI FPC2CNwYrDLlsUwYPdDHvAexvwgjD6fj7zouXusoxmOr1xgmyL49CRpWfsvFrxcXoM6L PQy24Zu3FG9EWYevr4/bM9FcTBrSb0evEaxzrwJS9P68vQ7zurWQSsF9cyuBml3hq2aA wvrA== X-Gm-Message-State: AC+VfDwOKRAZyYqh8Nr/kThjIs6nW2gb/y9He+88mu0bLTHKK/lBMDIC NphkSHwX99A19Dx5xKi7zHtlbuFwa4F9ykb6lMgpk0RsSz4GZaqC6sl6n7F5jZJEDHmDIUSSl2o cI2rVDM71dvbtHEjH0e41aJsUd1a988e9KpRTmMYsCxExBIFDsgR1Cy5s95Cu725vkw56jRHxVS jXXw== X-Received: by 2002:a05:7508:3141:b0:52:7e0a:9a79 with SMTP id f1-20020a057508314100b000527e0a9a79mr37554gbf.3.1684415008749; Thu, 18 May 2023 06:03:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UuAGNV+W14aGa8dp+ID+tyv3muJlLcHPxmytBxGCiF8kNZ+eB/YBAi186lyaLuntX1LoG0g== X-Received: by 2002:a05:7508:3141:b0:52:7e0a:9a79 with SMTP id f1-20020a057508314100b000527e0a9a79mr37508gbf.3.1684415008253; Thu, 18 May 2023 06:03:28 -0700 (PDT) Received: from DESKTOP-1DH6NSL.localdomain ([198.48.244.52]) by smtp.gmail.com with ESMTPSA id a3-20020a81bb43000000b0054c0a8ceb2fsm406033ywl.28.2023.05.18.06.03.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 06:03:27 -0700 (PDT) To: libc-alpha@sourceware.org, siddhesh@gotplt.org Cc: Carlos O'Donell Subject: [PATCH 0/5] Fix defect in sort-makefile-lines.py Date: Thu, 18 May 2023 09:03:20 -0400 Message-Id: <20230518130325.59309-1-carlos@redhat.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Carlos O'Donell via Libc-alpha From: Carlos O'Donell Reply-To: Carlos O'Donell Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" A defect in sort-makefile-lines.py failed to correctly handle the less-than case in the custom sorting function. Correcting this requires updating elf, misc, stdio-common, and wcsmbs Makefiles. The udpated sorting shows that bug23-N.c and scanfNa are sorted inconsistently and need to be renamed as suggested in the sorting rules. Carlos O'Donell (5): scripts: sort-makefile-lines.py elf: Adjust tests in Makefile. stdio-common: Adjust tests in Makefile misc: Reformat Makefile. wcsmbs: Reformat Makefile. elf/Makefile | 20 ++++++------ misc/Makefile | 6 ++-- scripts/sort-makefile-lines.py | 5 ++- stdio-common/Makefile | 44 +++++++++++++------------- stdio-common/{bug23-2.c => bug27.c} | 0 stdio-common/{bug23-3.c => bug28.c} | 0 stdio-common/{bug23-4.c => bug29.c} | 0 stdio-common/{scanf14a.c => scanf18.c} | 0 stdio-common/{scanf16a.c => scanf19.c} | 0 wcsmbs/Makefile | 2 +- 10 files changed, 40 insertions(+), 37 deletions(-) rename stdio-common/{bug23-2.c => bug27.c} (100%) rename stdio-common/{bug23-3.c => bug28.c} (100%) rename stdio-common/{bug23-4.c => bug29.c} (100%) rename stdio-common/{scanf14a.c => scanf18.c} (100%) rename stdio-common/{scanf16a.c => scanf19.c} (100%)