Subject: Re: CVS commit: src/usr.bin/make
To: r.o.s.s <ross@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 02/06/2004 15:08:36
--Apple-Mail-8--982530786
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Feb 6, 2004, at 2:50 PM, r.o.s.s wrote:

> This is a true case where a custom implementation is called for.
> Unlike 99.?% of the arg-parsing programs, this one does special
> non-posix stuff that isn't fully specified even in our getopt.
> Rather than asking the library to work anyway, in this case I would
> argue that the proper and standard-conforming approach is to
> custom-code this one exceptional case.

I agree with Ross, here.  Note that our make(1) isn't the only program 
that needs to parse the arguments specially... check out GCC's argument 
parsing code sometime.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-8--982530786
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAJB51OpVKkaBm8XkRAoXfAJ9sfEZjooDdSDUTDNCyzJ3Nq+fHngCeNrJe
Qvf5jKJ2Wvdbh7ORNJxe87Y=
=JoOv
-----END PGP SIGNATURE-----

--Apple-Mail-8--982530786--