File inotify-0.1.6.patch of Package php5-inotify
x
1
--- php_inotify.h.orig 2013-02-17 13:23:26.520011322 +0100
2
+++ php_inotify.h 2013-02-17 13:23:49.284010353 +0100
3
4
PHP_FUNCTION(inotify_queue_len);
5
PHP_FUNCTION(inotify_read);
6
7
-#define PHP_INOTIFY_VERSION "0.1.1"
8
+#define PHP_INOTIFY_VERSION "0.1.6"
9
+
10
+/* old glibc fix */
11
+#define IN_ONLYDIR 0x01000000 /* Only watch the path if it is a
12
+ directory. */
13
+#define IN_DONT_FOLLOW 0x02000000 /* Do not follow a sym link. */
14
+#define IN_MASK_ADD 0x20000000 /* Add to the mask of an already
15
+ existing watch. */
16
17
#define INOTIFY_BUF_TOO_SMALL(ret,errno) \
18
((ret) == 0 || ((ret) == -1 && (errno) == EINVAL))
19