Re: New extension: Inotify

From: Date: Wed, 09 Jul 2008 10:44:12 +0000
Subject: Re: New extension: Inotify
References: 1 2 3 4 5 6  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5610@lists.php.net to get a copy of this message
On Wed, Jul 9, 2008 at 9:32 AM, Derick Rethans <derick@php.net> wrote: >> So, yes, my code links and depends on the glibc (which is LGPL) >> because it uses these 3 convenience functions instead of using >> directly the syscall() function. I think it does not cause any problem >> to the PHP license, but if it does I may use syscall() directly or >> write these functions myself to not depend on any specific libc. >> However there are chances that other non-(L)GPL libcs export (or will >> export) the inotify functions, which would make my extension to not >> depend on any specific libc. > > Perhaps you might want to check whether ulibc has it, if that's the case > even this should be in the clear. > > regards, > Derick > > -- > Derick Rethans > http://derickrethans.nl | > http://ezcomponents.org | > http://xdebug.org > Yes uclibc [1], dietlibc [2] and klibc [3] have it. [1] http://www.uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/inotify.c?rev=16821&view=markup [2] http://www.google.com/codesearch?hl=fr&q=show:RJKoCQ4ycug:aHidVsNf4-k:0udVqc7Q9LA&sa=N&ct=rd&cs_p=http://kernel.osuosl.org/pub/linux/libs/dietlibc/dietlibc-0.30.tar.gz&cs_f=dietlibc-0.30/syscalls.s/inotify_init.S&start=1 [3] http://git.kernel.org/?p=libs/klibc/klibc.git;a=blob_plain;f=usr/klibc/SYSCALLS.def;hb=HEAD Regards, Arnaud

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