Lately, I've seen several patches for libgpod which adds checking for *str
!= '\0' in addition to str != NULL in various places of the code. at first,
it was assumed that iTunes was setting this, but it's actually gtkpod that
is silently replacing NULL items in Itdb_Track with "". However, it's then
expecting libgpod to deal with both NULL and "" which is a wrong assumption
in my opinion. So the attached patch makes sure these "" are replaced to
NULL before libgpod sees them. What do you think about it?