rem: template = g_build_filename (G_DIR_SEPARATOR_S, g_get_tmp_dir (), "totemXXXXXX", NULL);
add: template = g_build_filename (g_get_tmp_dir (), "totemXXXXXX", NULL);
context: cab_download (TotemDownload *td){	int retval;	char *filepath;	char *template;	retval = 0;	template = g_build_filename (G_DIR_SEPARATOR_S, g_get_tmp_dir (),			"totemXXXXXX", NULL);	td->dirpath = mktemp (template);	if (mkdir (td->dirpath, 0700) == -1)		return -1;	if (td->video_fcc != 0)	{		filepath = g_build_filename (G_DIR_SEPARATOR_S, td->dirpath,				"totem_v.cab", NULL);		if (cab_download_from_td_try (td, filepath, td->video_fcc) < 0)			retval = -1;		g_free (filepath);	}	if (td->audio_fcc != 0)	{		filepath = g_build_filename (G_DIR_SEPARATOR_S, td->dirpath,				"totem_a.cab", NULL);		if (cab_download_from_td_try (td, filepath, td->audio_fcc) < 0)		{			if (retval == 0)				retval = -1;		}		g_free (filepath);	}	set_label (td, DONE, TRUE);	return retval;}