fd = list->data;
list = g_list_remove(list, fd);
- DEBUG_1("expunging from trash for space: %s\n", fd->name);
+ DEBUG_1("expunging from trash for space: %s", fd->name);
if (!unlink_file(fd->path) && !warned)
{
file_util_warning_dialog(_("Delete failed"),
if (!isdir(options->file_ops.safe_delete_path))
{
- DEBUG_1("creating trash: %s\n", options->file_ops.safe_delete_path);
+ DEBUG_1("creating trash: %s", options->file_ops.safe_delete_path);
if (!options->file_ops.safe_delete_path || !mkdir_utf8(options->file_ops.safe_delete_path, 0755))
{
result = _("Could not create folder");
dest = file_util_safe_dest(fd->path);
if (dest)
{
- DEBUG_1("safe deleting %s to %s\n", fd->path, dest);
+ DEBUG_1("safe deleting %s to %s", fd->path, dest);
success = move_file(fd->path, dest);
}
else
}
else
{
- DEBUG_1("closed by #%d\n", row);
+ DEBUG_1("closed by #%d", row);
file_dialog_close(rd->fdlg);
}
GList *work;
FileData *fail = NULL;
- DEBUG_1("deltree into: %s\n", fd->path);
+ DEBUG_1("deltree into: %s", fd->path);
level++;
if (level > UTILITY_DELETE_MAX_DEPTH)
lfd = work->data;
work = work->next;
- DEBUG_1("deltree child: %s\n", lfd->path);
+ DEBUG_1("deltree child: %s", lfd->path);
if (real_content && !islink(lfd->path))
{
fail = file_data_ref(fd);
}
- DEBUG_1("deltree done: %s\n", fd->path);
+ DEBUG_1("deltree done: %s", fd->path);
return fail;
}
fd = work->data;
work = work->next;
- DEBUG_1("deltree unlink: %s\n", fd->path);
+ DEBUG_1("deltree unlink: %s", fd->path);
if (islink(fd->path))
{