Re: New extension: Inotify

From: Date: Tue, 08 Jul 2008 13:31:37 +0000
Subject: Re: New extension: Inotify
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5601@lists.php.net to get a copy of this message
On 04.07.2008 22:19, Arnaud LB wrote:
lnotify is a part of Linux kernel, which is GPL-licensed.
The inotify functions are a set of syscalls, just like open() and close(). Using open() in your code does not force you to release it under the GPL ;) That's the same situation with inotify.
open() and close() exist in other (non-GPL) systems, i.e. your code doesn't depend on any certain kernel/library, hence its license doesn't affect your code. In case of Inotify, you code was clearly done especially for Inotify and fully depends on Inotify, which to my understanding means that this is a "derivative work" and it should be GPLed, too, unfortunately. We've had an opposite case: ext/readline can link to both GPL-ed readline and BSD-licensed libedit, which allows us to license it under PHP license. -- Wbr, Antony Dovgal

« previous php.pecl.dev (#5601) next »