Bug 179366 - missing inotify support.
Summary: missing inotify support.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 179431
TreeView+ depends on / blocked
 
Reported: 2006-01-30 16:56 UTC by Dave Jones
Modified: 2016-11-24 12:25 UTC (History)
6 users (show)

Fixed In Version: 2.3.90-32
Clone Of:
Environment:
Last Closed: 2006-02-06 16:16:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2006-01-30 16:56:41 UTC
#include <sys/inotify.h>
void main()
{
        int i;
        i = inotify_init();
}

(11:55:22:davej@nemesis:~)$ gcc test.c
test.c: In function âmainâ:
test.c:4: warning: return type of âmainâ is not âintâ
/home/davej/tmp/ccaFrBE5.o: In function `main':test.c:(.text+0x9): warning:
warning: inotify_init is not implemented and will always fail

aparently the inotify-using apps we currently ship (gnome-vfs, gamin etc) are
carrying their own private copies of the headers to work around this, but users
hit problems when they try to use inotify in their own apps.

Comment 1 David Woodhouse 2006-02-06 15:04:48 UTC
The inotify syscalls were added to glibc-kernheaders in glibc-kernheaders-3_0-4
on  2006-01-23 -- for Alpha, i386, ppc, ppc64, s390, s390x and x86_64. Now that
glibc has been rebuilt, the support ought to be present.

Comment 2 Jakub Jelinek 2006-02-06 16:16:05 UTC
Should be fixed in glibc-2.3.90-32 and above.


Note You need to log in before you can comment on or make changes to this bug.