bin/98911: getopt(1): getopt.c license issue

Bruce Cran bruce at cran.org.uk
Mon May 5 07:50:07 UTC 2008


The following reply was made to PR bin/98911; it has been noted by GNATS.

From: Bruce Cran <bruce at cran.org.uk>
To: Jason McIntyre <jmc at kerhand.co.uk>
Cc: bug-followup at FreeBSD.org
Subject: Re: bin/98911: getopt(1): getopt.c license issue
Date: Mon, 05 May 2008 08:44:42 +0100

 This is a multi-part message in MIME format.
 --------------060203030102080107070302
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I agree. The README is misleading and the solution used by NetBSD is 
 much clearer.  I think the README should possibly be removed and the 
 attached patch used to add the comment to the top of getopt.c instead.
 
 -- 
 Bruce
 
 --------------060203030102080107070302
 Content-Type: text/plain;
  name="getopt.c.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="getopt.c.diff"
 
 --- /usr/src/usr.bin/getopt/getopt.c	2002-09-05 00:29:01.000000000 +0100
 +++ getopt.c	2008-05-05 08:34:14.000000000 +0100
 @@ -1,6 +1,11 @@
  #include <sys/cdefs.h>
  __FBSDID("$FreeBSD: src/usr.bin/getopt/getopt.c,v 1.10 2002/09/04 23:29:01 dwmalone Exp $");
  
 +/*
 + * This material, written by Henry Spencer, was released by him
 + * into the public domain and is thus not subject to any copyright.
 + */
 +
  #include <stdio.h>
  #include <stdlib.h>
  #include <unistd.h>
 
 --------------060203030102080107070302--


More information about the freebsd-bugs mailing list