From nobody Tue May 09 06:34:18 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QFpKj5V6sz49n1X; Tue, 9 May 2023 06:34:33 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QFpKj4cfZz3nl6; Tue, 9 May 2023 06:34:33 +0000 (UTC) (envelope-from lwhsu@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683614073; 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: in-reply-to:in-reply-to:references:references; bh=PCS9gtBwEOeuJh8HbT8kK1VB9ef2nWzDeekQk5E6Cn0=; b=hrSd/EzLW9oX8UJRa0YU6d3u+1Hmv2OiWju+camzsB91cl4BzmoyVjWupuW42JZ5iXXa7/ gmVeVvmMnmidAOer3cMrn/t2DQ0IRul/OUAhwA0W3n+/wTqLHCchoFkBz71GVDMwRMLdn/ guAiXrv3+/bapNMLkZHfSrCDPHCQ1f6HX/LWzu2AAVZUekQ6HrJXf66RuQxFc6Q4aD9dzA vC6zy+fPRVKH5Yn0AQD++P1gs+5R52mpMLSYYxlXwqHVPh/sBpbNMK0BUPGXcUnI8OZPy0 7GQ/2fa6AvmTF/Ett8RtwPwcgA3yhJeUGgtpkM8W2AUimzMpEMmOJwz4iMz7Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683614073; 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: in-reply-to:in-reply-to:references:references; bh=PCS9gtBwEOeuJh8HbT8kK1VB9ef2nWzDeekQk5E6Cn0=; b=v3VdGcIMRgOtpt4tcRi+o4WodWKWgoJ7+czzVAoD21EhWn8U/lCHRh8ui2gJbJ8f0KCUi7 mTULLxDDpjbWy11DDgdna8+qzCgCsTKdl5rGj3wZEmDKvKRJlEBamAmvOeTtXFGHa5zvlt 2q4CqSDakLrR1WzKLYNaGEdjRhissXLE5t/Vjboy9DZ1eV0zdNtZl0QUFpmW25fOMALoUj 0ho79Nl5V+hg2nloyDZMRMebCnVf0X3PwKXjgfT9gBJ46qmQjTg48C9tyv3YTEBpNMCphd k+vVLb5wuG15lIqvLyM5L4Rfwh414ZQKrc56XwqR2m94lZ9aiZHe6OKwGtxoFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683614073; a=rsa-sha256; cv=none; b=PhuUJGzHNnw2pxu//x42EcsOhY6hEbFQTR8whkZ8SRrp/mo7Bq6i5a86qTAJJh11TSvOVo cMP9c3VrvcbL28btqLaSnUhz1du80mqHmh5lRg/q123eX+CQH6o+1HIWpv2qo788i1c749 4HEbhoYr2UrmLRM4skQsd+CMUymVHXUp6OAOnjgwQEbwgsWWdqVd5MHtI/9yn8CpuG3yY/ MKw0YDjGszWva1+zRMpdaJKdK4l2iF8gELlWOweD/jjjivUy1R8YoDwoBtLVY3LPDRFPaL ML1OY9w7BJgQrvHZaQKnp/oL9HlEMX+YhKpzHPKsHUNMAd2IWVpvIjIJtAgDrQ== Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: lwhsu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QFpKj3Xp2z1C0W; Tue, 9 May 2023 06:34:33 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-24e24b0193fso4077943a91.2; Mon, 08 May 2023 23:34:33 -0700 (PDT) X-Gm-Message-State: AC+VfDyalKr2BcjwChw6KFRJC9O0KRnr0CV14qQ6U4Ei1BfE2fU3ymIH JmdNc8uyVlNa6zHm0mE2L1G339pkuTSUnWwTUHg= X-Google-Smtp-Source: ACHHUZ6oIqPk+t+baWhn01UcYmMdTNXP15nOyeVAdKZ2WOZ1AgsWQ9ZgCCqRQZBG/3jLoOZjQQXvdlqb0sGxUzMEfBc= X-Received: by 2002:a17:90a:f3d5:b0:24d:fb8f:6c16 with SMTP id ha21-20020a17090af3d500b0024dfb8f6c16mr13215987pjb.16.1683614071891; Mon, 08 May 2023 23:34:31 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 References: <202305080805.34885P8c017963@gitrepo.freebsd.org> In-Reply-To: <202305080805.34885P8c017963@gitrepo.freebsd.org> From: Li-Wen Hsu Date: Tue, 9 May 2023 14:34:18 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 4849767cb16a - main - md5: Improve compatibility. To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N On Mon, May 8, 2023 at 4:05=E2=80=AFPM Dag-Erling Sm=C3=B8rgrav wrote: > > The branch main has been updated by des: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D4849767cb16a4dbd4d1b923db2= 5d34029c09e7b0 > > commit 4849767cb16a4dbd4d1b923db25d34029c09e7b0 > Author: Dag-Erling Sm=C3=B8rgrav > AuthorDate: 2023-05-08 06:56:09 +0000 > Commit: Dag-Erling Sm=C3=B8rgrav > CommitDate: 2023-05-08 06:56:22 +0000 > > md5: Improve compatibility. > > * Overhaul the GNU compatibility mode to more closely emulate what th= e GNU tools do. > > * Add a Perl compatibility mode which emulates the shasum tool that s= hips with Perl. This is currently not installed. > > * Overhaul the tests. > > Sponsored by: Klara, Inc. > Reviewed by: kevans > Differential Revision: https://reviews.freebsd.org/D39446 gcc12 reports: /workspace/src/sbin/md5/md5.c: In function 'MDInput': /workspace/src/sbin/md5/md5.c:737:17: error: comparison of unsigned expression in '< 0' is always false [-Werror=3Dtype-limits] 737 | if (len < 0) { | ^ (From https://ci.freebsd.org/job/FreeBSD-main-amd64-gcc12_build/950/console= ) Not sure if this can be changed to `len <=3D 0`, or just remove this part. Can you check it? Thanks! Best, Li-Wen