Update of /cvsroot/gtkpod/libgpod
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31882
Modified Files:
ChangeLog
Log Message:
* src/itdb_itunesdb.c (itdb_cp_track_to_ipod): removed static
variable "dir_num" which was initialized once and cycled through
for each track transfered. This doesn't seem right since
different iPods with different number of music directories may
be connected at the same time, and itdb_cp_track_to_ipod() may
be called for different iTunesDBs at the same in in a threaded
environment. Since there is no inherent value in cycling through
the directories, a random directory is selected each time.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/ChangeLog,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -d -r1.216 -r1.217
--- ChangeLog 30 Apr 2007 00:46:48 -0000 1.216
+++ ChangeLog 1 May 2007 03:40:38 -0000 1.217
@@ -1,3 +1,14 @@
+2007-05-01 Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+ * src/itdb_itunesdb.c (itdb_cp_track_to_ipod): removed static
+ variable "dir_num" which was initialized once and cycled through
+ for each track transfered. This doesn't seem right since
+ different iPods with different number of music directories may
+ be connected at the same time, and itdb_cp_track_to_ipod() may
+ be called for different iTunesDBs at the same in in a threaded
+ environment. Since there is no inherent value in cycling through
+ the directories, a random directory is selected each time.
+
2007-04-30 Jorg Schuler <jcsjcs at users.sourceforge.net>
* src/itdb_itunesdb (itdb_parse_internal): fixed compile warning
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2