From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684415011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SoV11rgDkpYizbrBl1X03fElLjLVELV1jxk45bixkdE=; b=Snz2syNOYZcexWeGSfAzlLnuIkdn1jh/NBgAXA9qe7KLsOyxIk/Gf8jyjumO7fiXO8ydu4 AuBLqk0JJczemxXXVFT1+fm47xFtlB/5uG49KxmjtDQykH6oXWNVolcNcz5/2GZKPoXw6K dw+KFM9gYY+kFxbLxMtDbDZwgWqQPLA= 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) From: Carlos O'Donell 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 List-Id: 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%) -- 2.40.0