From owner-freebsd-bugs Fri Jun 9 10:29:32 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA19955 for bugs-outgoing; Fri, 9 Jun 1995 10:29:32 -0700 Received: from wc.cdrom.com (wc.cdrom.com [192.216.223.37]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA19949 for ; Fri, 9 Jun 1995 10:29:30 -0700 Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by wc.cdrom.com (8.6.12/8.6.12) with SMTP id KAA20408 for ; Fri, 9 Jun 1995 10:29:29 -0700 Received: by sovcom.kiae.su id AA14634 (5.65.kiae-2 ); Fri, 9 Jun 1995 21:27:29 +0400 Received: by sovcom.KIAE.su (UUMAIL/2.0); Fri, 9 Jun 95 21:27:27 +0300 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id VAA01519; Sat, 10 Jun 1995 21:22:57 +0400 To: "Rodney W. Grimes" , Robert Shady Cc: bugs@FreeBSD.org, mal@algonet.se References: <199506092055.QAA00886@hades.id.net> In-Reply-To: <199506092055.QAA00886@hades.id.net>; from Robert Shady at Fri, 9 Jun 1995 16:55:36 -0400 (EDT) Message-Id: Organization: Olahm Ha-Yetzirah Date: Sat, 10 Jun 1995 21:22:56 +0400 (MSD) X-Mailer: Mail/@ [v2.37 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA?= =?KOI8-R?Q?=FE=C5=D2=CE=CF=D7?= aka "Andrey A. Chernov, Black Mage" X-Class: Fast Subject: Re: make doesn't like lines with a tab only Lines: 54 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1932 Sender: bugs-owner@FreeBSD.org Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- In message <199506092055.QAA00886@hades.id.net> Robert Shady writes: >> > the following "Makefile" >> > --SNIP-- >> > foo: bar >> > xyzzy -o foo bar >> > >> > --SNIP-- >> > >> > results in: >> > "Makefile", line 3: Need an operator >> > Fatal errors encountered -- cannot continue >> >> The only bug here is that your makefile is arguably wrong. A tab indicates >> there is to be a command in this location, you have provided no command. >> >> Many other makes ignore this arguably erronous line. I belive POSIX says >> this shall cause an error. >That may be what POSIX says it should cause, but in real life it causes >alot of headaches. Maybe a command line switch to ignore it would be in >order? Defaulting, of course, to POSIX. POSIX says that anything after must be passed to shell exactly. It says nothing about error here. So, simple it is equal to sh -c "" Normal make must skip such lines. F.e. GNU makes which claims itself as POSIX-conformant don't produce error here. BSD make isn't POSIX make, differences are too big, but even in this case as long time tradition of BSD make such lines was accepted without error. As I notice, this nitpicking change (producing error) cause too many ports Makefiles to be converted. I vote for removing this superflows checking. - -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBL9nU7eJgpPLZnQjrAQFDngP/feV/mNAm1KrhtoYNoCiKI+aQDeSDHfxk d2+2dMiJorC/euU6j6wm2XrR0ewhdEnAMqv93jCDdj8mG5ZkIK+osrlW6U8YnLkR X17awCPi5jxPYCN0Ya2Xl71nDEV0Bgo/gK6z4Sis1fNs2nThLOwJZZodKekr16m+ PMAopdUTLP4= =mQNk -----END PGP SIGNATURE-----