mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-07 19:35:50 +01:00
Define IN_ONLYDIR if not in header (#515346)
2008-02-13 Alexander Larsson <alexl@redhat.com> * inotify/inotify-path.c: Define IN_ONLYDIR if not in header (#515346) svn path=/trunk/; revision=6510
This commit is contained in:
parent
74905ae3ca
commit
ab7e80d366
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-13 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* inotify/inotify-path.c:
|
||||||
|
Define IN_ONLYDIR if not in header (#515346)
|
||||||
|
|
||||||
2008-02-12 Alexander Larsson <alexl@redhat.com>
|
2008-02-12 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* tests/live-g-file.c:
|
* tests/live-g-file.c:
|
||||||
|
@ -37,6 +37,11 @@
|
|||||||
|
|
||||||
#define IP_INOTIFY_MASK (IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_CREATE|IN_DELETE_SELF|IN_UNMOUNT|IN_MOVE_SELF|IN_CLOSE_WRITE)
|
#define IP_INOTIFY_MASK (IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_CREATE|IN_DELETE_SELF|IN_UNMOUNT|IN_MOVE_SELF|IN_CLOSE_WRITE)
|
||||||
|
|
||||||
|
/* Older libcs don't have this */
|
||||||
|
#ifndef IN_ONLYDIR
|
||||||
|
#define IN_ONLYDIR 0
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct ip_watched_dir_s {
|
typedef struct ip_watched_dir_s {
|
||||||
char *path;
|
char *path;
|
||||||
/* TODO: We need to maintain a tree of watched directories
|
/* TODO: We need to maintain a tree of watched directories
|
||||||
|
Loading…
x
Reference in New Issue
Block a user