comp.lang.ada
 help / color / mirror / Atom feed
From: Barry Margolin <barmar@bbnplanet.com>
Subject: Re: GPL and "free" software
Date: 1999/05/04
Date: 1999-05-04T00:00:00+00:00	[thread overview]
Message-ID: <OYGX2.350$jw4.27311@burlma1-snr2> (raw)
In-Reply-To: 372F36AB.55833EA6@doc.ic.ac.uk

In article <372F36AB.55833EA6@doc.ic.ac.uk>,
Ed Avis  <epa98@doc.ic.ac.uk> wrote:
>Barry Margolin wrote:
>
>>>I meant that something like:
>>>
>>>#define BUFFER_SIZE 1000
>>>#define MAX_THINGIES 6
>>>
>>>probably isn't copyrightable, especially once you strip away the names
>>>and are just left with the pair of integers '1000, 6'.
>
>>It certainly is copyrightable.  The choice of names is a significant part
>>of programming.  A header file that says:
>>
>>#define ASDFASDF 1000
>>#define LKJLKJLK 6
>>
>>is quite different from the above file.
>
>My point was, the only part of the header file which gets included in
>the final executable (or, indeed, in the .S file) is the two numbers
>1000 and 6.  So my header file and yours would give identical object
>code.  I don't see how the number six can be copyrighted, except
>perhaps in relation to the Children's Television Workshop.

Suppose you have a program that contains:

#include <somefile.h>
...
printf ("%d, %d\n", BUFFER_SIZE, MAX_THINGIES);

If you compile this file, you'll get a different object file depending on
whether somefile.h contains:

#define BUFFER_SIZE 1000
#define MAX_THINGIES 6

or

#define BUFFER_SIZE 6
#define MAX_THINGIES 1000

Thus, the object file is derived from the header file.

>I thought that very small snippets of code were not copyrighted.

They are, but in some cases copying small snippets out of a larger work
might be fair use, and hence not infringing.  There are a number of
criteria that must be satisfied for a copy to be fair use, and size in
proportion to the entire work is just one of them.

Perhaps a court might decide that the way that header files are typically
used constitutes fair use.  AFAIK, it's never been tested.

Years ago I worked for a company that produced an operating system and
compilers.  It was quite common for programmers at the time to produce
compiler listings that included all the header files inserted.  IIRC, we
took the copyright notices *out* of our header files so that these listing
files wouldn't appear to be copyrighted by the vendor.  Our PL/I compiler
didn't support macros, so the only stuff in the header files were function
prototypes and structure declarations, and we weren't concerned about them
being copied.

-- 
Barry Margolin, barmar@bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.




  reply	other threads:[~1999-05-04  0:00 UTC|newest]

Thread overview: 162+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-20  0:00 air traffic control software Terry J. Westley
1999-04-21  0:00 ` Kevin Rigotti
1999-04-21  0:00   ` Robert Dewar
1999-04-21  0:00     ` GPL and "free" software (was: air traffic control software) Terry J. Westley
1999-04-21  0:00       ` dennison
1999-04-21  0:00       ` bill
1999-04-23  0:00         ` Robert Dewar
1999-04-23  0:00         ` Robert Dewar
1999-04-23  0:00           ` Tom Moran
1999-04-24  0:00             ` Florian Weimer
1999-04-25  0:00               ` Robert Dewar
1999-04-26  0:00                 ` GPL and "free" software Nick Roberts
1999-04-26  0:00                   ` spblunt
1999-04-26  0:00                     ` Barry Margolin
1999-04-26  0:00                     ` Robert Dewar
1999-04-26  0:00                     ` Tim Smith
1999-04-26  0:00                       ` Kenneth P. Turvey
1999-04-27  0:00                         ` Robert Dewar
1999-04-27  0:00                           ` Barry Margolin
1999-05-02  0:00                             ` Mitch Blevins
1999-05-02  0:00                               ` Sam Holden
1999-05-03  0:00                                 ` Barry Margolin
1999-04-26  0:00                       ` Robert Dewar
1999-04-27  0:00                       ` Phil Hunt
1999-04-27  0:00                         ` David Kastrup
1999-04-27  0:00                           ` Robert Dewar
1999-04-27  0:00                             ` Lynn Winebarger
1999-05-05  0:00                             ` Richard E. Hawkins Esq.
1999-04-27  0:00                           ` Lynn Winebarger
1999-04-26  0:00                   ` Robert Dewar
1999-04-26  0:00                   ` Florian Weimer
1999-04-26  0:00                   ` Tim Smith
1999-04-26  0:00                   ` Paul Hughett
1999-04-26  0:00                     ` Robert Dewar
1999-04-26  0:00                       ` Paul Hughett
1999-04-26  0:00                         ` Robert Dewar
1999-04-27  0:00                           ` Paul Hughett
1999-04-27  0:00                             ` Barry Margolin
1999-04-27  0:00                               ` Paul Hughett
1999-04-27  0:00                                 ` Joshua E. Rodd
     [not found]                                   ` <7g5qgg$n7t@www.inetnow.net>
1999-04-28  0:00                                     ` Joshua E. Rodd
     [not found]                                       ` <7g7ro3$q91@www.inetnow.net>
1999-04-28  0:00                                         ` Lynn Winebarger
1999-04-29  0:00                                           ` Robert Dewar
1999-04-29  0:00                                             ` Lynn Winebarger
1999-04-29  0:00                                               ` Aidan Skinner
     [not found]                                             ` <7g8ip8$skl@www.inetnow.net>
1999-04-29  0:00                                               ` Barry Margolin
1999-04-29  0:00                                                 ` [Offtopic for cl.ada] " Joshua E. Rodd
1999-04-30  0:00                                                 ` Paul Hughett
1999-04-30  0:00                                                   ` Robert Dewar
1999-05-08  0:00                                           ` dewarr
1999-04-28  0:00                                         ` Joshua E. Rodd
1999-04-28  0:00                                       ` Robert Dewar
1999-04-28  0:00                                         ` Joshua E. Rodd
1999-04-29  0:00                                           ` Robert Dewar
1999-04-29  0:00                                             ` Lynn Winebarger
1999-04-29  0:00                                               ` Joshua E. Rodd
1999-04-30  0:00                                                 ` Lynn Winebarger
1999-05-05  0:00                                               ` Richard E. Hawkins Esq.
1999-05-05  0:00                                                 ` Robert Dewar
1999-05-05  0:00                                                   ` Richard E. Hawkins Esq.
1999-05-06  0:00                                                     ` Robert Dewar
1999-05-06  0:00                                                       ` Barry Margolin
1999-05-06  0:00                                                         ` Robert Dewar
1999-05-06  0:00                                                         ` Robert Dewar
1999-05-06  0:00                                                           ` Barry Margolin
1999-05-06  0:00                                                             ` Robert Dewar
1999-05-06  0:00                                                               ` Barry Margolin
1999-05-06  0:00                                                                 ` Robert Dewar
1999-05-06  0:00                                                                   ` Roger Espel Llima
1999-05-07  0:00                                                                     ` Robert Dewar
1999-05-07  0:00                                                                       ` Barry Margolin
1999-05-07  0:00                                                                       ` dennison
1999-04-29  0:00                                             ` David Starner
1999-04-29  0:00                                               ` Robert Dewar
     [not found]                                             ` <7gdv6m$1fid$1@Mercury.mcs.net>
1999-05-03  0:00                                               ` [O/T 4 cla] " Joshua E. Rodd
     [not found]                                                 ` <7gkmt5$e8t@www.inetnow.net>
1999-05-03  0:00                                                   ` Joshua E. Rodd
     [not found]                                                     ` <7gnb7u$hlu@www.inetnow.net>
1999-05-04  0:00                                                       ` Leslie Mikesell
1999-05-05  0:00                                                         ` Robert Dewar
1999-05-05  0:00                                                           ` Leslie Mikesell
1999-05-06  0:00                                                             ` Robert Dewar
1999-05-08  0:00                                                               ` Leslie Mikesell
1999-05-08  0:00                                                                 ` Robert Dewar
1999-05-10  0:00                                                                   ` Leslie Mikesell
1999-05-11  0:00                                                                     ` Robert Dewar
1999-05-10  0:00                                                                       ` Leslie Mikesell
1999-05-11  0:00                                                                         ` Robert Dewar
1999-05-11  0:00                                                                           ` Leslie Mikesell
1999-05-12  0:00                                                                             ` Robert Dewar
1999-05-11  0:00                                                                     ` Robert Dewar
1999-05-10  0:00                                                                       ` Leslie Mikesell
1999-05-04  0:00                                                   ` James Youngman
1999-05-06  0:00                                                     ` Robert Dewar
1999-05-04  0:00                                                 ` James Youngman
1999-05-06  0:00                                                   ` Robert Dewar
1999-05-06  0:00                                             ` Robert A Duff
1999-05-06  0:00                                               ` Robert Dewar
1999-05-07  0:00                                                 ` Joshua E. Rodd
1999-05-08  0:00                                                   ` dewarr
1999-05-18  0:00                                                     ` Joshua E. Rodd
1999-04-28  0:00                                 ` Barry Margolin
1999-04-28  0:00                                   ` Lynn Winebarger
1999-04-28  0:00                                     ` Samuel Mize
1999-04-29  0:00                                       ` Robert Dewar
1999-04-28  0:00                                     ` Samuel Mize
1999-04-28  0:00                                     ` Joshua E. Rodd
1999-04-29  0:00                                       ` Robert Dewar
1999-04-29  0:00                                         ` Robert A Duff
1999-04-29  0:00                                           ` Barry Margolin
1999-04-29  0:00                                     ` Fraser Wilson
1999-04-29  0:00                                       ` Ed Avis
1999-04-29  0:00                                         ` Barry Margolin
1999-04-29  0:00                                         ` David Starner
1999-04-29  0:00                                           ` Ed Avis
1999-04-29  0:00                                             ` Robert Dewar
1999-04-29  0:00                                             ` David Starner
1999-04-30  0:00                                               ` Ed Avis
1999-04-30  0:00                                                 ` Barry Margolin
1999-04-30  0:00                                                   ` Ed Avis
     [not found]                                                     ` <R5qW2.242$jw4.22063@burlma1-snr2>
     [not found]                                                       ` <372ADEED.D907754@doc.ic.ac.uk>
1999-05-03  0:00                                                         ` Joshua E. Rodd
1999-05-04  0:00                                                           ` Ed Avis
1999-05-04  0:00                                                             ` Barry Margolin
1999-05-04  0:00                                                               ` Ed Avis
1999-05-04  0:00                                                                 ` Barry Margolin [this message]
1999-05-08  0:00                                                                   ` dewarr
1999-05-04  0:00                                                                 ` Peter Seebach
1999-05-04  0:00                                                         ` Alan Braggins
1999-05-01  0:00                                                 ` Phil Hunt
1999-05-02  0:00                                                   ` Ed Avis
1999-05-02  0:00                                                     ` Ole-Hjalmar Kristensen
1999-05-02  0:00                                                     ` Phil Hunt
1999-05-02  0:00                                                       ` Ed Avis
1999-05-03  0:00                                                         ` dennison
1999-05-02  0:00                                                   ` Andy Isaacson
1999-05-03  0:00                                                     ` Robert Dewar
1999-04-29  0:00                                             ` Joshua E. Rodd
1999-04-29  0:00                                         ` Robert Dewar
1999-04-30  0:00                                           ` Ed Avis
1999-04-29  0:00                                     ` Paul Hughett
1999-04-30  0:00                                     ` spblunt
1999-04-30  0:00                                       ` David Kastrup
1999-04-27  0:00                             ` David Kastrup
1999-04-27  0:00                           ` Lynn Winebarger
1999-04-26  0:00                             ` Tim Smith
1999-04-27  0:00                             ` Barry Margolin
1999-04-27  0:00                               ` Lynn Winebarger
1999-04-27  0:00                           ` spblunt
1999-04-27  0:00                             ` Robert Dewar
1999-04-26  0:00                   ` Robert Dewar
1999-04-26  0:00                   ` Phil Hunt
1999-04-27  0:00                     ` Robert Dewar
1999-04-27  0:00                       ` Ronald Cole
1999-04-23  0:00           ` GPL and "free" software (was: air traffic control software) Larry Kilgallen
1999-04-23  0:00             ` Robert Dewar
     [not found] ` <DXqW2.244$jw4.22256@burlma1-snr2>
     [not found]   ` <7gdln1$vna$1@jetsam.uits.indiana.edu>
     [not found]     ` <372ADFBD.4F4C241B@doc.ic.ac.uk>
1999-05-01  0:00       ` GPL and "free" software Lynn Winebarger
     [not found]       ` <7gff2f$8o2@www.inetnow.net>
1999-05-01  0:00         ` Ed Avis
1999-05-03  0:00         ` Joshua E. Rodd
     [not found]       ` <m2zp3pat3q.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>
1999-05-03  0:00         ` Joshua E. Rodd
1999-05-04  0:00           ` Larry Kilgallen
1999-05-04  0:00           ` Ed Avis
1999-05-03  0:00     ` Barry Margolin
     [not found] ` <7gdd9e$36l$1@flotsam.uits.indiana.edu>
     [not found]   ` <372ADF48.B3C88507@doc.ic.ac.uk>
1999-05-04  0:00     ` Nick Roberts
1999-05-07  0:00       ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox