commit 58a5410e22d41d9782e42f31e29f74bd3dd54542 Author: Christophe Fergeau <cferg...@mandriva.com> Date: Fri Mar 12 16:40:13 2010 +0100
rename (private) itdb_sync to itdb_fsync This should avoid confusion with the new itdb_start/stop_sync functions src/itdb_itunesdb.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) --- diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index e69ffa0..5f0b69a 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -381,7 +381,7 @@ static void fcontents_free (FContents *cts) } } -static void itdb_sync (void) +static void itdb_fsync (void) { #ifndef WIN32 sync(); @@ -5771,7 +5771,7 @@ err: /* make sure all buffers are flushed as some people tend to disconnect as soon as gtkpod returns */ - itdb_sync (); + itdb_fsync (); return result; } @@ -5866,7 +5866,7 @@ gboolean itdb_write (Itdb_iTunesDB *itdb, GError **error) /* make sure all buffers are flushed as some people tend to disconnect as soon as gtkpod returns */ - itdb_sync (); + itdb_fsync (); itdb_stop_sync (itdb); @@ -6085,7 +6085,7 @@ gboolean itdb_shuffle_write (Itdb_iTunesDB *itdb, GError **error) /* make sure all buffers are flushed as some people tend to disconnect as soon as gtkpod returns */ - itdb_sync (); + itdb_fsync (); return result; } @@ -6214,7 +6214,7 @@ gboolean itdb_shuffle_write_file (Itdb_iTunesDB *itdb, /* make sure all buffers are flushed as some people tend to disconnect as soon as gtkpod returns */ - itdb_sync (); + itdb_fsync (); return result; } ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2