}
g_close (fd, NULL);
- g_remove (tmp_fn);
+ if (g_remove (tmp_fn) != 0) {
+ _print_log ("failed to remove temp file %s", tmp_fn);
+ }
+
return tmp_fn;
}
}
/* remove temp file */
- g_remove (option.tmpfile);
+ if (g_remove (option.tmpfile) != 0) {
+ _print_log ("failed to remove temp file %s", option.tmpfile);
+ }
g_free (option.tmpfile);
}
}
/* remove temp file */
- g_remove (option.tmpfile);
+ if (g_remove (option.tmpfile) != 0) {
+ _print_log ("failed to remove temp file %s", option.tmpfile);
+ }
g_free (option.tmpfile);
}
}
/* remove temp file */
- g_remove (option.tmpfile);
+ if (g_remove (option.tmpfile) != 0) {
+ _print_log ("failed to remove temp file %s", option.tmpfile);
+ }
g_free (option.tmpfile);
}
}
/* remove temp file */
- g_remove (option.tmpfile);
+ if (g_remove (option.tmpfile) != 0) {
+ _print_log ("failed to remove temp file %s", option.tmpfile);
+ }
g_free (option.tmpfile);
}
}
/* remove temp file */
- g_remove (option.tmpfile);
+ if (g_remove (option.tmpfile) != 0) {
+ _print_log ("failed to remove temp file %s", option.tmpfile);
+ }
g_free (option.tmpfile);
}
}
/* remove temp file */
- g_remove (option.tmpfile);
+ if (g_remove (option.tmpfile) != 0) {
+ _print_log ("failed to remove temp file %s", option.tmpfile);
+ }
g_free (option.tmpfile);
}