From owner-cvs-src@FreeBSD.ORG Tue May 24 07:45:50 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E89516A41C; Tue, 24 May 2005 07:45:50 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB2DE43D1D; Tue, 24 May 2005 07:45:49 +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 j4O7jnXo032842; Tue, 24 May 2005 07:45:49 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4O7jnbW032841; Tue, 24 May 2005 07:45:49 GMT (envelope-from harti) Message-Id: <200505240745.j4O7jnbW032841@repoman.freebsd.org> From: Hartmut Brandt Date: Tue, 24 May 2005 07:45:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/make job.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 07:45:50 -0000 harti 2005-05-24 07:45:49 UTC FreeBSD src repository Modified files: usr.bin/make job.c Log: Allow the .SHELL target to specify the list of shell meta characters and the list of shell builtins. Both of these are needed for the compat mode where make directly executes commands if the command line contains neither a shell meta character nor a shell builtin. The list of builtins is not changed, but csh has '@' added as a meta-character. Initialize the default shell by parsing a string as one would specify to the .SHELL target. So we get rid of the CShell clone of struct Shell which just contained const char * where struct Shell had char *. Add a debugging function for dumping a parsed shell description to stdout. Revision Changes Path 1.115 +305 -289 src/usr.bin/make/job.c