LWN.net Logo

Why does the patch use ifdef statements

Why does the patch use ifdef statements

Posted May 6, 2009 17:13 UTC (Wed) by nhippi (subscriber, #34640)
In reply to: Why does the patch use ifdef statements by southey
Parent article: Long discussions about long names

You don't violate patents by copying or distributing. You violate patents by using the patented method (commercially). Thus if the object code doesn't implement the patented method, you can still distribute the sourcecode (that you don't compile).

This is why the lame mp3 encoder is distributed source-only by upstream.

IANAL and all the other disclaimers.


(Log in to post comments)

Why does the patch use ifdef statements

Posted May 9, 2009 21:03 UTC (Sat) by giraffedata (subscriber, #1954) [Link]

You violate patents by using the patented method (commercially).

You also violate patents by making or selling a device that uses the method. And the use doesn't have to be commercial.

The point is that if I sell you a GPS device that can read VFAT, I need a license for any patents that cover VFAT.

I don't even think ifdefs are necessary. Anything that prevents the VFAT code from running is probably just as effective at making VFAT patents irrelevant. But a kernel build configuration option might make a manufacture more confident that he isn't accidentally violating a patent.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds