Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2018 20:56:10 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        "Rodney W. Grimes" <rgrimes@freebsd.org>
Cc:        Ian Lepore <ian@freebsd.org>, "Piotr P. Stefaniak" <pstef@freebsd.org>, src-committers@freebsd.org,  svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r334630 - head/usr.bin/indent
Message-ID:  <CANCZdfrxLcEMnapbJ-h07bRdDBkrUzm_OyMngK4_u1yMYoN%2B7Q@mail.gmail.com>
In-Reply-To: <201806050247.w552lcRx098576@pdx.rh.CN85.dnsmgr.net>
References:  <1528164479.32688.223.camel@freebsd.org> <201806050247.w552lcRx098576@pdx.rh.CN85.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 4, 2018, 8:47 PM Rodney W. Grimes <
freebsd@pdx.rh.cn85.dnsmgr.net> wrote:

> [ Charset ISO-8859-1 unsupported, converting... ]
> > On Mon, 2018-06-04 at 17:00 -0700, Rodney W. Grimes wrote:
> > > >
> > > > Author: pstef
> > > > Date: Mon Jun??4 20:24:31 2018
> > > > New Revision: 334630
> > > > URL: https://svnweb.freebsd.org/changeset/base/334630
> > > >
> > > > Log:
> > > > ? indent(1): remove static const char copyright[]
> > > > ??
> > > > ? It repeats what is already said in the heading comment and it's
> optimized out
> > > > ? so serves no purpose.
> > > The purpose would be to put a copyright into the binary, and why that
> is not
> > > happening when the original authors intended that is not good.
> > >
> > > This is a regression, as 5.4p8 shows:
> > > {108}% strings /usr/bin/indent | grep -i copy
> > > bcopy
> > > @(#) Copyright (c) 1985 Sun Microsystems, Inc.
> > > @(#) Copyright (c) 1976 Board of Trustees of the University of
> Illinois.
> > > @(#) Copyright (c) 1980, 1993
> > >
> > > Please walk very very very carefully around all things "copyright".
> > >
> >
> > Does it matter what the original author intended?
> Yes, it does.
>
> > Nothing in the
> > license text itself requires that copyright info be included in the
> > binary (it just has to be in the docs and accompanying materials). So
> > why would an edit to remove that from the binary be any different than
> > any other edit to the code that any committer chooses to make?
>
> Because he deleted lines that contain the word "copyright"
> and that is just a dangerious place to play.
>

It looked fine to me. All the dates predate the adoption of the Berne
Convention. Marking isn't needed anymore for a copyright. The same text is
earlier in the file. I'm not sure there is a problem here...

Warner

Warner

>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrxLcEMnapbJ-h07bRdDBkrUzm_OyMngK4_u1yMYoN%2B7Q>