inotify patch

Mike Frysinger vapier at gentoo.org
Thu Jun 22 03:38:15 UTC 2006


On Wednesday 21 June 2006 06:31, Joseph S. Myers wrote:
> On Wed, 21 Jun 2006, Mike Frysinger wrote:
> > so if a package does something like
> > AC_CHECK_FUNC(inotify_func)
> > AC_CHECK_FUNC(dnotify_func)
> > #ifdef HAS_INOTIFY
> >  < does inotify stuff >
> > #elif HAS_DNOTIFY
> >  < does dnoitfy stuff >
> > #else
> >  < does something else
> > #endif
> >
> > and our uClibc has inotify stubbed to an ENOSYS, crappy applications will
> > think inotify support is actually implemented (because the symbol exists)
> > and disable code that would otherwise work
>
> This is why glibc has <gnu/stubs.h> (included from <features.h>),
> generated at glibc build time.  autoconf checks the __stub_* defines.

hmm, thanks for the info ... i wondered what the stubs.h stuff was about in 
glibc
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060621/6ebb1ecb/attachment-0002.pgp 


More information about the uClibc mailing list