I can't really see a point to such a patch; sure, it makes it impossible to prove that your device violates the patent by demonstrating that it actually creates such files, but with the code that would do it in the source, compiled, and installed, and just unreachable, I think it's unlikely that this detail would affect whether a patent suit could get filed and not get dismissed.
I think of a patent as a monopoly on the commercial exploitation of an invention.
It would be difficult for someone to argue that your GPS device's unreachable long-filename-creation code is really a selling point of the device.
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds