Hi,
Can somebody with developer status in the bugtracker please look at https://bugs.freepascal.org/view.php?id=36129#c118331
It appears that this is coe copied from some Delphi version.

Mailing lists / fpc-devel / 2019-10
7 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
Can somebody with developer status in the bugtracker please look at https://bugs.freepascal.org/view.php?id=36129#c118331
It appears that this is coe copied from some Delphi version.
Ahoy!
Bart wroteIt appears that this is coe copied from some Delphi version.
In general, I side with the FSF. Citing code - i.e. a /small/ excerpt _naming_ the source - is legit. No software patents!
I tend to agree on this, I think this is harmless.
You'd have to throw away large parts of stackoverflow if this was enforced rigorously.
Michael.
PM Michael Van Canneyt wroteI tend to agree on this, I think this is harmless. You'd have to throw away large parts of stackoverflow if this was enforced rigorously.
What if this piece of code ends up in the compiler? Can Embarcadero (or however they're called these days) sue us?
We'll just have to make sure the code isn't copied.
Michael.
AM Michael Van Canneyt wrote> What if this piece of code ends up in the compiler? > Can Embarcadero (or however they're called these days) sue us? We'll just have to make sure the code isn't copied.
The problem here is that everyone could have come up with that solution (given the bugdescription), but now this is tainted. Similar code already exists in LazUtils, IIRC written by me, and I have no access to Delphi source code.
Why ?
As you write:everyone could have come up with that solution.
For some problems, there is only 1 reasonable solution.
If we follow the reasoning leading to your remark, I must stop working on FPC on the spot.
I have gone through most parts of the RTL and VCL at some point in my career when debugging.
So I am totally tainted, and with me probably half the audience on the lists and the forums.
We take care not to copy code.
Expecting that we're all virgin blank sheets of paper is not very realistic. We must be pragmatic in such issues.
Michael.