From 268d7c7c5b4249c0281cbb7f7fc8a66b2ebdc969 Mon Sep 17 00:00:00 2001 From: Iskustvo Date: Wed, 14 Feb 2018 00:04:11 +0100 Subject: [X11] Improving error detection in move_to_trash --- drivers/unix/dir_access_unix.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/unix') diff --git a/drivers/unix/dir_access_unix.cpp b/drivers/unix/dir_access_unix.cpp index 4a467293fd..3944431516 100644 --- a/drivers/unix/dir_access_unix.cpp +++ b/drivers/unix/dir_access_unix.cpp @@ -361,6 +361,7 @@ Error DirAccessUnix::rename(String p_path, String p_new_path) { return ::rename(p_path.utf8().get_data(), p_new_path.utf8().get_data()) == 0 ? OK : FAILED; } + Error DirAccessUnix::remove(String p_path) { if (p_path.is_rel_path()) -- cgit v1.2.3