From: Jorg S. <Jor...@gm...> - 2005-12-10 03:52:07
|
Hi Patrick, > However, when I sync back to the ipod I get a seg fault and gtkpod > dies. :( > > Running under gdb gives: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1208457536 (LWP 13502)] > 0x004d4daa in ipod_image_get_ithmb_filename (mount_point=0xac39538 "/mnt/ipod", correlation_id=Variable "correlation_id" is not available. > ) > at ithumb-writer.c:126 > 126 paths[0], path[1], NULL); :-( I must really have been sleepy. You need to replace 'path[1]' with 'paths[1]': { /* attempt to create directory */ gchar *pth = g_build_filename (mount_point, paths[0], paths[1], NULL); mkdir (pth, 0777); g_free (pth); path = itdb_resolve_path (mount_point, (const char **)paths); } Cheers, JCS. |