Closed tbeu closed 9 years ago
It's a bad idea to license C-code under the Modelica license. The reason is that the license is Modelica-specific (you are only allowed to modify and use the code if you move it to another Modelica package)... The license on the ModelicaStandardTables.c is better.
That's a general issue that always confuses me, see e.g. modelica/Modelica_DeviceDrivers#35. Also MSL C sources like ModelicaInternal.c, ModelicaStrings.c etc. use MoLic2. Maybe some license experts can help? @dietmarw @MartinOtter ?
Well, the way I read the license is, if you use the ModelicaInternal.c in your own project, you should rename it MyInternal.c and change the interface of the functions from e.g. ModelicaInternal_getenv to MyInternal_getenv. It would be good if the license was changed also in MSL...
@MartinOtter: Is this fixed with https://github.com/DLR-SR/Noise/commit/3cb8c8f2e78905b718340cd9cfa0f719dd72c912#diff-b6a3f43c37c0fa48a520c8b44738f03e ?
No, it's not considered yet. ModelicaRandom.c still claims to be licensed under MoLic2. This is not appropriate.
Could someone look if this now is OK with #57?
ModelicaNoise.c probably should be licensed under Modelica License 2. Please add some license comment to it. See ModelicaInternal.c for some idea.