On 9/20/16, 3:34 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>I'm no lawyer, but even if you only copy+paste an If statement that's
>actually a derivate work ... at least that's the way I understood it ...
>please correct me if I'm wrong.

I am not a lawyer either, but my understanding is different.

Let's say the Foo project is MIT licensed.  If I take one if statement
from that project's source and put it in a file that is otherwise entirely
written by me, my understanding is that it does not make my file a
derivative of the Foo project.  It can then be thought of as a compilation
[1]. We should give attribution to the Foo project as other written works
do for quoting anything else, and the Foo project contributor who wrote
that line of code still owns copyright to that line of code, and
modifications of that line of code is under the MIT license, but that
doesn't, IMO, mandate copying a header from their source file into our
source file.  And in fact, the MIT license in particular says that the
license only needs to be "included in all copies or substantial portions
of the Software".

[1] http://digital-law-online.info/lpdi1.0/treatise6.html

Reply via email to