From nobody Mon Mar 28 07:21:43 2022 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 AA1D71A43B35; Mon, 28 Mar 2022 07:21:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KRkf01DS9z4WGw; Mon, 28 Mar 2022 07:21:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648452104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DvJsWpIBEG72nE5Qw/yOBKBay8dv2N4c1gQYT1l656M=; b=L1QtbrvqW7P1gZ3ADpc7DNxwDNv7PWpk6Jo0D5Qks47E+myCpP3WMILofz0UNuAGz/GiDw 4AlfKKQ+6fOQNUYuiqL5HaZYEqsCKTI/PaQPTQqUGFkD7rMuHMh2i7L8mxgMQKylZahb0O pOeX72n/wqKQJXnR+CHePZGnYplCMrRJRRnkVYA1iYZwKqxwicgo0X4ea8bQqTW6wfi7nh /aghasbJKi/lTucY83e0nA0Rg/Bp8rFiofpOk/31adWLlD8X21/MOsg0GrDRU6z57769LC aYJNpDgPvin8hQpa+3nHgx6UGWMZBeQ0jXTE8gYL5tjM5jGxE1ujmfbmA5P8qA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDC7125169; Mon, 28 Mar 2022 07:21:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22S7LhQ6035890; Mon, 28 Mar 2022 07:21:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22S7LhVm035889; Mon, 28 Mar 2022 07:21:43 GMT (envelope-from git) Date: Mon, 28 Mar 2022 07:21:43 GMT Message-Id: <202203280721.22S7LhVm035889@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Piotr Pawel Stefaniak Subject: git: 9f3203c00314 - main - uudecode: correct error message 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pstef X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9f3203c003144a4ef6309435036f985afe549ff0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648452104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DvJsWpIBEG72nE5Qw/yOBKBay8dv2N4c1gQYT1l656M=; b=lgkBn8oqkcgSM0vbp+EDGkPl2pOCz7HEJuwd3EtVGFGRp2610OZ8FqcfvJbbeTqTmYHu7N V/S/LlHtrMiSSrDlXv3fOPCnmg43Dj4YGkG3JpJ9A5TtvQa7lFjzuAJZu0lmk9JPF7d2wf yaJ8GLH8cay1w4taTKmXxwqkINY92aK+c5eIAhqoRMf3Fg/KXuOcG2lpPwcq3I1lLZH5uc JR1MJ36eswi1M4f8ZkPK9p1aSFp8bIQo93v20VqyppUXvfbGPLg3GxGCqMeGDCsWD4w9wc K03RjdCxT72dXWJeLp48WbDEqL8yE2aW7V2fHo9FTt8+SUuFR2XkD5at1ff4LA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648452104; a=rsa-sha256; cv=none; b=Zk7xKp1hRB3i95B6xKJwC124aXDDCqasua1DKgSgkJcgR2dWozwMFBfG1hyfnBsOBGrIyi fkRCISvP6sA9R5QkTDAQaDeuKhbYU/JJZamFmqxd/x03LzlCeaDfmEQG1FiMT4ZAJ0o5hz XyymVirO7Js4eYDhZaMwMO7SOXX/pbmI/PgYHwAjauTVrkvbTZLbJdoKIliwK3ZHVBFMtU oX8g3GmUL3SsAy4LMkxl4lzPtNY1ZauSgqPINI+MNB5fU8v5y4z2Zu8kmEVEyh2uqshqj6 PPjuvDT9Dyof+abgAkYxuP+a54h2fKWdKbJXzEMRLO6moxEFg0B1dsJZKdE5cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pstef: URL: https://cgit.FreeBSD.org/src/commit/?id=9f3203c003144a4ef6309435036f985afe549ff0 commit 9f3203c003144a4ef6309435036f985afe549ff0 Author: Piotr Pawel Stefaniak AuthorDate: 2021-11-08 14:31:03 +0000 Commit: Piotr Pawel Stefaniak CommitDate: 2022-03-28 07:01:35 +0000 uudecode: correct error message PR: 153276 Reported by: David Brennan --- usr.bin/uudecode/uudecode.c | 2 +- usr.bin/uuencode/tests/regress.153276.in | 4 ++++ usr.bin/uuencode/tests/regress.153276.out | 1 + usr.bin/uuencode/tests/regress.sh | 3 +++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c index 6d31d96ad958..707ba27df62e 100644 --- a/usr.bin/uudecode/uudecode.c +++ b/usr.bin/uudecode/uudecode.c @@ -353,7 +353,7 @@ uu_decode(void) #define OUT_OF_RANGE do { \ warnx("%s: %s: character out of range: [%d-%d]", \ - infile, outfile, 1 + ' ', 077 + ' ' + 1); \ + infile, outfile, ' ', 077 + ' ' + 1); \ return (1); \ } while (0) diff --git a/usr.bin/uuencode/tests/regress.153276.in b/usr.bin/uuencode/tests/regress.153276.in new file mode 100644 index 000000000000..d881c8a9389e --- /dev/null +++ b/usr.bin/uuencode/tests/regress.153276.in @@ -0,0 +1,4 @@ +begin 644 153276 +/5&AI&1') + REGRESSION_END()