Received: by mail.netbsd.org (Postfix, from userid 605) id 08EA084D8B; Sun, 28 Oct 2018 18:16:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0CC5384D84 for ; Sun, 28 Oct 2018 18:16:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id z0mYBENYdYcj for ; Sun, 28 Oct 2018 18:16:01 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 895AE84CD6 for ; Sun, 28 Oct 2018 18:16:01 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 821AFFBEE; Sun, 28 Oct 2018 18:16:01 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 28 Oct 2018 18:16:01 +0000 From: "Robert Elz" Subject: CVS commit: src/bin/sh To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20181028181601.821AFFBEE@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Robert Elz" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kre Date: Sun Oct 28 18:16:01 UTC 2018 Modified Files: src/bin/sh: jobs.c Log Message: Use strsignal() rather than direct reference to sys_siglist[] (apart from being cleaner, it also simplifies the code, as strsignal() never fails ... it also removes one reference to NSIG). To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/bin/sh/jobs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.