Open
Bug 608251
Opened 15 years ago
Updated 3 years ago
Provide interface for file system updates
Categories
(NSPR :: NSPR, defect)
NSPR
NSPR
Tracking
(Not tracked)
NEW
People
(Reporter: WeirdAl, Unassigned)
Details
Attachments
(1 file)
|
24.16 KB,
patch
|
Details | Diff | Splinter Review |
I could swear I filed a bug on this a couple years ago, but I can't find it now...
I'm under the impression that when the operating system updates a file (creation, edit, delete, etc.), there's a mechanism for notifying other programs of the change. For example, if I call from a command-line prompt:
mkdir newdir
Somehow the GUI automatically shows me a new directory named "newdir" was created, without me refreshing the window. I'm trying to figure out how, so that I can bring that instant-update capability into XPCOM land (so I can find out about it from chrome JS).
I consider this related to bug 421029.
| Reporter | ||
Comment 1•15 years ago
|
||
http://www.linuxjournal.com/article/8478 provides an introduction to inotify for Linux.
http://msdn.microsoft.com/en-us/library/aa365261%28VS.85%29.aspx talks about change notifications for files and directories on Windows.
| Reporter | ||
Comment 2•15 years ago
|
||
http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/FSEvents_ProgGuide/ talks about Mac's equivalent, for OS X 10.5 and later.
| Reporter | ||
Comment 3•14 years ago
|
||
../../staticlib/libxpcom_core.a(nsFileUpdateNotifierLinux.o): In function `nsFileUpdateNotifier::Initialize(nsILocalFile*, int)':
/home/ajvincent/filestatus/mozilla/xpcom/io/nsFileUpdateNotifierLinux.cpp:84: undefined reference to `inotify_init'
/home/ajvincent/filestatus/mozilla/xpcom/io/nsFileUpdateNotifierLinux.cpp:101: undefined reference to `inotify_add_watch'
/home/ajvincent/filestatus/mozilla/xpcom/io/nsFileUpdateNotifierLinux.cpp:109: undefined reference to `inotify_add_watch'
/usr/bin/ld: libxul.so: hidden symbol `inotify_add_watch' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
I'd really love some help figuring out how to fix this.
| Reporter | ||
Comment 4•14 years ago
|
||
I *did* file a bug on this before, bug 403943, which was duped to bug 403436.
Comment 5•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: wtc → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•