From owner-freebsd-bugs Sun May 10 12:42:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00794 for freebsd-bugs-outgoing; Sun, 10 May 1998 12:42:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA00742; Sun, 10 May 1998 12:41:56 -0700 (PDT) (envelope-from wosch@cs.tu-berlin.de) Received: from panke.panke.de (anonymous224.ppp.cs.tu-berlin.de [130.149.17.224]) by mail.cs.tu-berlin.de (8.8.8/8.8.8) with ESMTP id VAA17839; Sun, 10 May 1998 21:41:03 +0200 (MET DST) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id UAA02006; Sun, 10 May 1998 20:44:53 +0200 (MET DST) Message-ID: <19980510204452.35461@panke.de> Date: Sun, 10 May 1998 20:44:52 +0200 From: Wolfram Schneider To: Bruce Evans Cc: freebsd-bugs@FreeBSD.ORG, wosch@FreeBSD.ORG Subject: Re: bin/6550 References: <199805101649.CAA14725@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.79 In-Reply-To: <199805101649.CAA14725@godzilla.zeta.org.au>; from Bruce Evans on Mon, May 11, 1998 at 02:49:33AM +1000 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1998-05-11 02:49:33 +1000, Bruce Evans wrote: > >Synopsis: make(1): shell meta-character optimization incomplete > >The bug applies to all ash(1) builtin commands: > > This shows why it isn't really a bug. `make' can't be expected > to know about all shell builtins, especially nonstandard ones. > The bug is that `make' doesn't have a POSIX-conformant mode in > which it always execs the shell. No one would use this mode :-). gmake(1) handle some common builtin commands, e.g. exit and umask. wosch@freefall <11:29:00> [~/tmp/5] 543 bash$ cat Makefile all: exit 0 wosch@freefall <11:29:02> [~/tmp/5] 544 bash$ make exit 0 exit: not found *** Error code 1 Stop. wosch@freefall <11:29:06> [~/tmp/5] 545 bash$ gmake exit 0 wosch@freefall <11:29:08> [~/tmp/5] 546 -- Wolfram Schneider http://www.freebsd.org/~wosch/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message