Good stuff; let's formalize and document in the policy page. Is this a good proposal:
If you cut and paste code from external sources (libraries and the like) into Pike, mark the affected areas in the code with a begin and end comment, like this:
/* Start of code borrowed from libjpeg/6b */
[...]
/* End of code borrowed from libjpeg/6b */
The same goes for code inspired by other code to the degree where the code can be said to be based on the original, in the copyright sense of the word. The reasoning behind this rule is to simplify reverting the code, in case we would have to, at a later date, for any reason. Naturally, you replace "libjpeg/6b" with the name and version (where applicable) of your source.
/ Johan Sundström (ska bli kalif i stället för kalifen)
Previous text:
2002-10-07 10:05: Subject: Copyright
No, the JPEG license is pretty benign, and the features you have added are well worth the code inclusion if it's needed. I'm a bit doubtful that it was a good idea to include new code in a working codepath before 7.5, but that is between me and Nilsson and nothing you need to feel guilty about.
I have a suggestion though: Anyone cut-ing and pasting code should mark the affected areas in the code. with a begin and an end comment if it would be needed to revert it for some reason at a later date. The same for code inspired by other code to the degree where the code can be said to be based on the original in the copyright sense of the word.
/ Peter Bortas