From owner-cvs-all@FreeBSD.ORG Tue Nov 30 15:35:52 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0561616A4CE; Tue, 30 Nov 2004 15:35:52 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D58A243D1D; Tue, 30 Nov 2004 15:35:51 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iAUFZp5h098568; Tue, 30 Nov 2004 15:35:51 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iAUFZpCt098567; Tue, 30 Nov 2004 15:35:51 GMT (envelope-from harti) Message-Id: <200411301535.iAUFZpCt098567@repoman.freebsd.org> From: Hartmut Brandt Date: Tue, 30 Nov 2004 15:35:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make job.c job.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 15:35:52 -0000 harti 2004-11-30 15:35:51 UTC FreeBSD src repository Modified files: usr.bin/make job.c job.h Log: Constify the array of predefined shells. It turns out that we need two versions of the structure definition for this: one with const char pointers, because otherwise gcc won't let us initialize the fields with constant strings, and one without the const, because we need to work with the structure. Revision Changes Path 1.61 +36 -21 src/usr.bin/make/job.c 1.27 +27 -24 src/usr.bin/make/job.h