I tried to answer a question related to the open source Apache Portable Runtime Project.
I found the answer to the question in the sources (in this case, the test cases) of the project. The project is under a APL 2.0.
Since the OP uses the project, the license is probably OK for them but the license isn't compatible with CC-Wiki (SO's license).
An answer to this question says:
The cc license cannot, and does not, override the terms of an existing license.
So the code fragment is still under APL even though I posted it here. So I added the link to the license plus the license header.
Questions:
- Is it generally OK/correct/legal to post code from OSS projects on SO?
- Are there OSS licenses which specifically forbid sharing via SO?
- ... or which can cause other unintentional trouble (like posting GPL code here would make SO GPL'd or something)?
- Is my way of posting correct / too much (maybe the license is enough and I could omit the license header) / not enough?