From owner-freebsd-current Tue Aug 15 01:29:57 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA29201 for current-outgoing; Tue, 15 Aug 1995 01:29:57 -0700 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA29195 for ; Tue, 15 Aug 1995 01:29:48 -0700 Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by who.cdrom.com (8.6.11/8.6.11) with ESMTP id BAA00281 for ; Tue, 15 Aug 1995 01:29:45 -0700 Received: (from dfr@localhost) by minnow.render.com (8.6.9/8.6.9) id JAA27526; Tue, 15 Aug 1995 09:30:23 +0100 Date: Tue, 15 Aug 1995 09:30:22 +0100 (BST) From: Doug Rabson To: Wolfram Schneider cc: Garrett Wollman , current@freebsd.org Subject: Re: make(1) extension for SHELL COMMANDS In-Reply-To: <199508141654.SAA16905@caramba.cs.tu-berlin.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@freebsd.org Precedence: bulk On Mon, 14 Aug 1995, Wolfram Schneider wrote: > Garrett Wollman writes: > >> Note: the following example don't use /bin/sh in BSD make, our make > >> use execv(3) > > > >Well, that's yet another way in which pmake is broken with respect to > >POSIX. I'm not at all surprised to hear it. We don't need to make > >the situation even worse than it already is. > > FYI: GNU-make use a similar algorithm > (first exec and if errno=ENOEXEC SHELL). I think this is just to allow it to execute 'unlabeled' shell scripts, i.e. executable files without the #!/bin/sh comment. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939