[maemo-commits] [maemo-commits] r12656 - projects/haf/trunk/osso-gnome-vfs2/debian/patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Jul 4 18:05:55 EEST 2007
- Previous message: [maemo-commits] r12655 - in projects/haf/trunk/hildon-desktop: . data
- Next message: [maemo-commits] r12657 - projects/haf/hafbuildbot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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;
- Previous message: [maemo-commits] r12655 - in projects/haf/trunk/hildon-desktop: . data
- Next message: [maemo-commits] r12657 - projects/haf/hafbuildbot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]