[maemo-commits] [maemo-commits] r12656 - projects/haf/trunk/osso-gnome-vfs2/debian/patches

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jul 4 18:05:55 EEST 2007
Author: martyn
Date: 2007-07-04 18:05:39 +0300 (Wed, 04 Jul 2007)
New Revision: 12656

Modified:
   projects/haf/trunk/osso-gnome-vfs2/debian/patches/33-NB62082-inotify-event-in-future.patch
Log:
Make the comment in patch 33 more sane


Modified: projects/haf/trunk/osso-gnome-vfs2/debian/patches/33-NB62082-inotify-event-in-future.patch
===================================================================
--- projects/haf/trunk/osso-gnome-vfs2/debian/patches/33-NB62082-inotify-event-in-future.patch	2007-07-04 14:43:12 UTC (rev 12655)
+++ projects/haf/trunk/osso-gnome-vfs2/debian/patches/33-NB62082-inotify-event-in-future.patch	2007-07-04 15:05:39 UTC (rev 12656)
@@ -2,18 +2,16 @@
 ===================================================================
 --- libgnomevfs/gnome-vfs-monitor.c	(revision 12626)
 +++ libgnomevfs/gnome-vfs-monitor.c	(working copy)
-@@ -452,7 +452,18 @@ gnome_vfs_monitor_callback (GnomeVFSMeth
+@@ -452,7 +452,16 @@ gnome_vfs_monitor_callback (GnomeVFSMeth
  				send_uri_changes_now (monitor_handle, uri, now);
  				callback_data->send_at = now;
  			} else {
 -				callback_data->send_at = last_data->send_at + CONSECUTIVE_CALLBACK_DELAY;
 +				time_t when;
 +
-+				/* To make sure we don't have a
-+				 * callback send time in the future,
-+				 * we make sure that 'now' is the
-+				 * longest the user will wait for the
-+				 * event.
++				/* Make sure we don't send events in
++				 * the future, handle the case where
++				 * the system time is set back.
 +				 */
 +				when  = MIN(last_data->send_at, now);
 +				when += CONSECUTIVE_CALLBACK_DELAY;


More information about the maemo-commits mailing list