Update of /cvsroot/gtkpod/libgpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31309/src
Modified Files:
itdb_itunesdb.c
Log Message:
* src/itdb_itunesdb.c (itdb_write): don't crash if error ==
NULL (SF tracker bugs item #1519048)
Index: itdb_itunesdb.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb_itunesdb.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- itdb_itunesdb.c 2 Jul 2006 04:47:36 -0000 1.66
+++ itdb_itunesdb.c 8 Jul 2006 16:18:57 -0000 1.67
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-07-02 13:26:31 jcs>
+/* Time-stamp: <2006-07-09 01:16:49 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -4313,12 +4313,13 @@
g_free (itunes_path);
if (result == TRUE)
- result = itdb_rename_files (itdb_get_mountpoint (itdb), error);
-
- /* Write SysInfo file if it has changed */
- if (!(*error) && itdb->device->sysinfo_changed)
{
- itdb_device_write_sysinfo (itdb->device, error);
+ /* Write SysInfo file if it has changed */
+ if (itdb->device->sysinfo_changed)
+ {
+ itdb_device_write_sysinfo (itdb->device, error);
+ }
+ result = itdb_rename_files (itdb_get_mountpoint (itdb), error);
}
/* make sure all buffers are flushed as some people tend to
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2