This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add support for VMS debugging format


   You should maintain a legally valid copyright notice and a license
   notice in each nontrivial file in the package. (Any file more than ten
   lines long is nontrivial for this purpose.) 

It's probably worth trying to get this text cleaned up a bit. The
"nontrivial" standard is fairly close to the legal standard (I believe the
relevant case is Altai: I read the case, but am not sure of the name), but
the "ten line" criteria is just a very rough guide and should *not* be stated
as if it were a definition of "nontrivial".  The ten-line criteria more works
the other way: if it's less than ten lines long, it's probably trivial.

But consider a 50-line file that consists a list of states of the US in
alphabetical order, one state per line.  Such a file is "trivial" and does
not contain any copyrightable content, despite it being over ten lines long.

I'd prefer to see a "usually" in there, to make it clear that the "ten line"
test is only a rough test that works in some, but not all, cases and that the
important standard is "nontrivial", not "more than ten lines".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]