[dovecot-cvs] dovecot/src/lib ioloop-notify-inotify.c, 1.9.2.2, 1.9.2.3
tss at dovecot.org
tss at dovecot.org
Mon Mar 26 19:51:49 EEST 2007
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv3967
Modified Files:
Tag: branch_1_0
ioloop-notify-inotify.c
Log Message:
Fixed to work with notify updates to the watched file itself (with mbox)
Index: ioloop-notify-inotify.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop-notify-inotify.c,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -u -d -r1.9.2.2 -r1.9.2.3
--- ioloop-notify-inotify.c 18 Jan 2007 16:44:06 -0000 1.9.2.2
+++ ioloop-notify-inotify.c 26 Mar 2007 16:51:47 -0000 1.9.2.3
@@ -65,7 +65,7 @@
i_fatal("gettimeofday(): %m");
ioloop_time = ioloop_timeval.tv_sec;
- while ((size_t)required_bytes > sizeof(*event)) {
+ while ((size_t)required_bytes >= sizeof(*event)) {
for (io = ioloop->notifys; io != NULL; io = io->next) {
struct inotify_io *iio = (struct inotify_io *)io;
More information about the dovecot-cvs
mailing list