Copyright status of example code in Bugzilla - how to deal with when writing testcases.

Mike Stump mrs@apple.com
Mon Mar 28 18:24:00 GMT 2005


On Monday, March 28, 2005, at 12:56  AM, Toon Moene wrote:
> How do we deal with this, copyright-wise ?  Do we have to take special 
> care when deriving test-cases from them ?

The canonical method I use is to delete all aspects of the program that 
don't influence the bug, comments, unused/unneeded functions, 
variables, statements and expressions.  After that first step, usually 
we wind up with something that doesn't contain enough to be covered by 
copyright.  From there, we just check it in.  People that would be 
shocked and horrified that we do this, should not submit bug reports.

?



More information about the Gcc mailing list