diff options
author | Iskustvo <iskustvo@yahoo.com> | 2018-02-14 00:04:11 +0100 |
---|---|---|
committer | Iskustvo <iskustvo@yahoo.com> | 2018-02-18 17:02:19 +0100 |
commit | 268d7c7c5b4249c0281cbb7f7fc8a66b2ebdc969 (patch) | |
tree | 1c8db65803c9155ccff6b07751d398853c1631ef /drivers/unix | |
parent | d5eba83fd57005c110ef594f90c84016b758a0d5 (diff) |
[X11] Improving error detection in move_to_trash
Diffstat (limited to 'drivers/unix')
-rw-r--r-- | drivers/unix/dir_access_unix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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()) |