From: Raymond W. <ra...@la...> - 2007-05-18 21:50:37
|
Hello again It looks like we're stat-ing a null-string when parsing the playcounts file. A copy/paste bug probably. I've copied a cvs diff -u, but still do not have "attach a patch" technology. -- If you point me to the 'attach a patch' FAQ I will be sure to do so next time. Sincerely Raymond Walsh dhcp145:~/cvsrepos/libgpod/src apple$ cvs diff -u itdb_itunesdb.c Index: itdb_itunesdb.c =================================================================== RCS file: /cvsroot/gtkpod/libgpod/src/itdb_itunesdb.c,v retrieving revision 1.95 diff -u -r1.95 itdb_itunesdb.c --- itdb_itunesdb.c 12 May 2007 07:21:55 -0000 1.95 +++ itdb_itunesdb.c 18 May 2007 21:49:03 -0000 @@ -1093,7 +1093,7 @@ { /* skip if iTunesStats file has zero-length (often happens after * dosfsck) */ - stat (plcname, &filestat); + stat (istname, &filestat); if (filestat.st_size >= 0x06) { cts = fcontents_read (istname, &fimp->error); |