News for hackers. Stuff that matters.
Re:Dr.Mario 64's gzip implementation is taken almost verbati... by gfodor on Monday October 19, 2020 @04:18PM (#24830498)
If I release two pieces of software, one GPL, and another closed source which uses some of my GPLed code, if someone discovers the closed source one uses that code am I obligated to apply the GPL’s terms to the other project?
Re:Dr.Mario 64's gzip implementation is taken almost verbati... by lolc on Monday October 19, 2020 @06:17PM (#24831647)
You can offer your code under as many licences as you want. So you can publish the same code under both GPL and a proprietary license. This is called dual-licensing. The people that receive the code from you under one of those licences will not have that liberty. They will have to abide to the licence you gave them. For proprietary licences, that usually means they are not allowed to do more than use it. For GPL, that means they can pass it on under the GPL.

So in your example, while people could share the code you publish under the GPL, it does not impact what you can do with your closed source version. Only when you'd start to integrate patches to the GPL branch from third parties, you'd get into trouble.